LawSight is an AI-powered legal assistance tool built with Next.js that helps map user complaints to relevant Indian Penal Code (IPC) sections, find similar cases based on the complaint description and hence through interactive questioning draft an editable copy of FIR. It is designed to support law enforcement and legal professionals. LawSync processes multilingual complaints and suggests applicable IPC sections intelligently.
- 🔍 IPC Section Matcher – Suggests IPC sections based on complaint input (text/audio).
- 🧾 Similar Case Prediction – Retrieves past cases with similar complaint patterns to aid in legal referencing and decision-making.
- 🌐 Multilingual Support – Processes input in English and Marathi (expandable to other regional languages).
- 🗣️ Audio-to-Text Input – Accepts spoken complaints with transcription.
- 📄 Handwritten & Typed Complaint UI – Realistic paper-style input and output.
- 🗂️ Police Station Theme UI – Intuitive UX with cupboard-file UI, animated complaint handling, and fax-style output.
- 🧠 BERT Embedding Based Matching – Uses NLP with BERT for high-accuracy text classification.
- ⚖️ FIR Drafting Tool – Generates FIR drafts using a guided questionnaire.
- 📊 Weight-Balanced Training – Class imbalance managed using weight balancing and text augmentation.
- Frontend: Next.js, TailwindCSS, Framer Motion
- Backend: Node.js, FastAPI
- Machine Learning: Python (PyTorch, Transformers), Colab for model training
- Voice Processing: Web Speech API
- Text Embedding: BERT
- Deployment: Vercel
- Language Models: BERT-based classifier
- Dataset: Custom IPC sections dataset
- Training Platform: Google Colab (GPU enabled)
To maintain responsible usage and ensure data security, access to the trained model and IPC-related dataset is provided upon request.
👉 Request Access via Google Form
Once approved, you'll receive a download link and setup instructions via email.
Contributions are welcome! Please open an issue or submit a pull request.
Riya,Sachi & Tanmay With support from the LawSight Team
Built with ❤️ for societal impact.