Nyaysetu.ai: Demystify Legal Documents
Project Overview
Legal contracts are deliberately written in complex jargon, putting small businesses and individuals at a disadvantage. Nyaysetu.ai was developed to bridge this gap. Users can upload lease agreements, partnership deeds, or service terms, and receive a plain-language summary highlighting hidden risks, obligations, and critical dates.
Role & Execution
Nyaysetu is an AI-powered legal document analysis platform designed to simplify complex legal information for everyday users. It uses advanced NLP and RAG-based techniques to extract, interpret, and present key insights in plain language. The system enables users to identify risks, understand obligations, and make informed decisions without needing professional legal assistance. Built for accessibility and scalability, it supports multiple document formats and fast processing. This solution aims to democratize legal literacy through intelligent automation.
Outcomes & Impact
- Achieved average contract processing time of under 3 seconds.
- Accurately extracted 98% of hidden risk clauses in testing benchmarks.
- Active public deployment helping hundreds of users decipher simple contracts.
Tech Stack Details
For a smooth, interactive frontend and serverless API endpoints.
Delivers near-instantaneous token generation, offering responsive real-time chat with the uploaded document.
For reliable parsing of complex, nested legal tables and paragraphs into plain string formats.
Key Features
- Parsing engine converting complex PDFs and DOCX files (Mammoth/PDF-Parse) into clean markdown text.
- Retrieval-Augmented Generation (RAG) querying against document contents for specific legal questions.
- Groq AI integration using Llama 3 models for ultra-fast response generations.
- Intuitive UI highlighting key risk clauses (e.g. indemnity, liability limits) with visual indicator badges.
- Secure document processing discarding sensitive uploads immediately after session close.