A citizen sends a plain text message to the Telegram bot describing their problem. That message gets sent to Google Gemini with a carefully designed prompt at temperature 0.1, meaning the AI outputs consistent, deterministic JSON every time. Gemini extracts the issue type, location, responsible department, priority level, and generates a summary, all returning a confidence score between 0 and 1.