Inspiration
Meet Kamla ji. Garbage has been piling up in her lane for three days, and the government portal wants an English form, a password and a CAPTCHA. Millions of Indians hit the same wall: elders, people who find reading hard, and people with low vision. We asked one question: what if reporting a problem were as easy as telling a neighbour?
What it does
- Speak, don't type: one big button. Complain in Hindi or Hinglish.
- Automatic location through GPS, plus any landmark the user mentions.
- AI understanding: extracts category, urgency and an English summary, and splits one sentence with two problems into two complaints.
- Follow-up by voice when a detail is missing.
- "मैंने समझा" confirmation: nothing is filed until the user says "haan". The complaint number is then read out loud.
- "Meri complaint ka kya hua?" The user hears the status by voice.
- Optional photo, checked by an AI vision model.
- Officer desk: map heatmap, category, urgency and summary, one-click status updates, and grouping of duplicate reports. Five or more reports raise urgency, and unresolved complaints auto-escalate after 72 hours (ward officer → zonal officer → commissioner).
- Accessible by design: large buttons, high contrast, slow and clear speech, vibration feedback, and a low-bandwidth mode (Opus at 16 kbps).
How we built it: AI implementation
- Speech-to-text: browser Web Speech API (hi-IN) for live recognition, plus Whisper large-v3 on the server for a more accurate transcript.
- Language understanding: an LLM (openai/gpt-oss-120b via Groq, switchable to Claude) with strict JSON-schema output. It extracts complaint type, urgency, location and summary, and splits multi-issue sentences.
- Vision: an LLM vision model checks uploaded photos.
- Text-to-speech: browser speechSynthesis (hi-IN, rate 0.85) for every reply.
- Duplicate grouping: reports in the same category within 150 m, or with the same spoken landmark, are grouped into one issue.
- Stack: FastAPI, SQLite, React + Vite, Leaflet, Docker, Caddy (HTTPS), AWS EC2 and GitHub Pages, with CI/CD through GitHub Actions.
- Works without AI too: a keyword-based basic mode runs with no API key.
Responsible AI
- Human in the loop: citizens confirm before anything is filed, and officers decide every status change.
- Structured output: strict JSON schemas keep the LLM from producing free-form or made-up fields.
- Graceful fallback: if the AI isn't sure, it asks "phir se boliye" instead of guessing. If the LLM is unavailable, basic mode takes over.
- Minimal data: no account, password or personal profile. Only the complaint, its location and its status are stored.
Challenges we ran into
Hinglish code-mixing, regional accents and noisy streets made speech recognition hard. Splitting one sentence into several complaints needed careful schema design. Getting the microphone and GPS to work reliably required HTTPS on mobile.
Accomplishments that we're proud of
A full loop that needs no reading or typing at all: speak, confirm, get a number, check the status. It's live and deployed, and an officer can act on a complaint seconds after it's spoken.
What we learned
Accessibility is more than a feature. It changes every design decision, from how fast the app speaks to when it vibrates.
What's next for AwaazSetu
All 22 scheduled Indian languages, WhatsApp voice-note complaints, missed-call filing for feature phones, and pilots with municipal corporations.
India has a billion voices. Every one deserves to be heard.
Built With
- amazon-ec2
- caddy
- docker
- fastapi
- github-actions
- groq
- leaflet.js
- llm
- python
- react
- sqlite
- vite
- web-speech-api
- whisper
