Blue
AI backend and integration (team project)
The public demo runs on synthetic data.
Digital safety
Summary
A workspace for analysts to review messages for signs of financial pyramid schemes.
Overview
Built for the SafeNet KZ hackathon. Blue brings suspicious Telegram and WhatsApp messages and the evidence behind their risk scores into one analyst workspace. The backend is a FastAPI service over PostgreSQL, with a background worker that processes messages through Google Gemini.
How it works
- Analysts review messages from Telegram and WhatsApp, filtered by source and risk.
- Each message shows highlighted passages that explain its assessment.
- Analysts record a decision and a comment for each message.
Stack
My contribution
Built the Gemini-based analysis service with quota handling, request deadlines and exponential backoff with jitter. Calibrated the confidence model ("signal clarity"), kept separate from the risk level, and handled sparse input. Typed the OpenAPI response models and connected the frontend to the live API, checked end to end in the browser. Built the Telegram connector for voluntary submissions: consent flow, analysis commands, data deletion and a 30-day retention sweep. Added test database isolation and safety checks.