Sattam.ai - Legal Assistant
A comprehensive AI-powered legal assistance chatbot specializing in Indian law, built with Perplexity Sonar API for real-time legal information, with secure document upload and Retrieval-Augmented Generation (RAG) using ChromaDB for case-specific reasoning.
View Live DemoAI-Powered Legal Assistance for India
Sattam.ai addresses the critical need for accessible legal information in India by providing an AI-powered legal assistant that specializes in Indian law. Alongside Perplexity Sonar API for real-time legal research with live citations, the platform supports secure document upload and analysis with a RAG pipeline backed by ChromaDB for grounded, case-specific answers.
The platform breaks down language barriers with comprehensive multilingual support covering 12 Indian languages, ensuring that legal information is accessible to users across different linguistic backgrounds while maintaining the accuracy and integrity of legal terminology. Users can upload PDFs/DOCX/TXT files to get answers grounded in their documents and authoritative sources.
Comprehensive Legal Features
A complete suite of AI-powered tools designed to provide reliable legal assistance
Technology Stack
Built with reliable technologies to ensure accuracy and accessibility in legal assistance
System Architecture
Sattam.ai follows a client-server architecture with a Python Flask backend that integrates with Perplexity's Sonar API for real-time legal research and a RAG pipeline for document-grounded answers. Uploaded documents are chunked, embedded, and stored in ChromaDB, enabling high-recall retrieval during conversations.
The system emphasizes security and privacy with ephemeral processing for chats, environment-based key management, and secure document handling. Documents are processed for embeddings and can be purged on request. The frontend provides a responsive interface optimized for legal consultations and document analysis.
Architecture Overview:
• Frontend: Responsive Web Interface (HTML/CSS/JS)
• Backend: Flask API Server + RAG Pipeline
• Vector Store: ChromaDB
• Document Processing: ChromaDB Embeddings & Chunking
• AI Processing: Perplexity Sonar API
• Language Support: 12 Indian Languages
• Security: Environment Variables, CORS
• Deployment: Cloud-ready with HTTPS support
• Document Uploads: PDF/DOCX/TXT
Development Process
A systematic approach to building a reliable and accessible legal assistance platform
Project Impact
Making legal assistance accessible and reliable for Indian citizens
Need Legal Guidance?
Experience accessible legal assistance with Sattam.ai. Get instant guidance on Indian legal matters in your preferred language, backed by real-time research and authentic citations.
Try Legal Assistant