Inspiration
Last month, I was involved in a minor hit-and-run accident. Though I wasn’t seriously injured, I couldn’t walk properly for a few days. In that moment of confusion and pain, I realized I didn’t know what my rights were. Could I file a complaint? Was I entitled to compensation? I had no idea where to begin — and my elderly parents couldn’t help either.
It wasn’t just the pain. It was the helplessness.
That moment made me realize a deeper issue — legal awareness in India is still a privilege, not a right. Language barriers, lack of access, and complex jargon make it nearly impossible for ordinary citizens to understand or exercise their rights.
This led to the birth of Sattam.ai — a multilingual, AI-powered legal rights assistant for every Indian.
What it does
Sattam.ai is a chatbot that helps Indian citizens understand their legal rights in simple language, across multiple regional languages.
Key Features:
- Multilingual Chatbot: Ask legal questions in your own language.
- Powered by Perplexity Sonar API: Delivers context-aware, human-like legal insights.
- User-Friendly Interface: Designed for accessibility and clarity, even for first-time users.
- Domain-Aware Conversations: Covers everyday legal topics — FIRs, employment issues, tenant rights, consumer complaints, and more.
The goal: Justice begins with understanding — and understanding should speak your language.
How we built it
- Frontend: Flask-based web application for rapid deployment and customization.
- Backend: Integrated the Perplexity Sonar API to handle legal queries using advanced natural language understanding.
- Multilingual Support: Enabled support for multiple Indian languages using dynamic routing and language models.
- Prompt Engineering: Fine-tuned prompts to deliver legal context, avoid misinformation, and maintain tone consistency.
Challenges we ran into
- Multilingual Prompting: Ensuring reliable answers across languages required careful handling of language tokens and prompt structure.
- Trust & Limitation Disclosure: Making sure users understood that this was a legal awareness tool — not legal representation — was important to build trust.
- Accessibility: We aimed to make the interface usable for people unfamiliar with tech or legal terms.
Accomplishments that we're proud of
- Built a fully functional legal chatbot that people can actually use in real-life scenarios.
- Multilingual capability with regional relevance.
- Successfully leveraged the Sonar API for meaningful, localized, high-quality responses.
- Took a real-life personal challenge and turned it into a working solution for many others.
What we learned
- The power of conversational AI grows exponentially when it's aligned with local problems and languages.
- Building for legal use cases requires responsible prompting, extra care in tone, and user trust.
- APIs like Sonar can serve as a powerful foundation for public-good apps — you don’t need to reinvent the wheel to create impact.
- Real stories make for powerful tech solutions — your own pain point can spark change for many others.
🚀 What's next for Sattam.ai
With upcoming Sonar API features like file upload, Sattam.ai is evolving from a chatbot into a full-fledged legal awareness platform:
Next Steps:
- File Understanding: Let users upload legal documents (FIRs, agreements, notices) and get simplified breakdowns.
- Voice Interface: Add speech-to-text for accessibility among low-literacy or visually impaired users.
- NGO & Legal Aid Integration: Offer human legal handoffs where AI can’t proceed.
- Pan-Indian Expansion: Support for more Indian language dialects and regional legal nuances.
- Mobile App Launch: For rural and offline-first use cases.
Log in or sign up for Devpost to join the conversation.