
This is a legal AI assistant powered by Google Gemini and retrieval-augmented generation (RAG). Lawyers and legal teams can upload documents, ask questions in plain English, and get answers with citations. It helps them find relevant case law, contracts, and legal precedents much faster.
The system works with thousands of legal documents. It reached more than 95% accuracy in document classification and question answering, and it cut document review time by about 70% compared to manual research.
The web app is built with Next.js. LangChain runs the RAG pipeline, and MongoDB stores both the documents and their vector embeddings. When someone asks a question, vector search finds the most relevant documents in under a second. Gemini then reads them and writes an answer with citations. It can also pull key details out of contracts and case files, and it handles legal terms and context well.