Sep 19, 2025

LegalDocSummariser

#legaltech #ai #rag (retrievalaugmentedgeneration) #documentsummarization #hackathonproject

We built an AI-powered Legal Document Assistant that helps users quickly understand and work with complex legal documents.

Problem:
Legal contracts, policies, and case laws are long, jargon-heavy, and time-consuming to read. Lawyers and businesses waste hours searching for key clauses, risks, or answers.

Our Solution:
An end-to-end AI pipeline that:

  1. Ingests documents (PDF, Word, text) and preprocesses them.

  2. Embeds & stores chunks in a vector database (FAISS/Pinecone).

  3. Uses Retrieval-Augmented Generation (RAG) with Mistral-7B-Instruct to:

    • Summarize contracts into plain English.

    • Answer user questions with citations.

    • Highlight risky or critical clauses.

    • Auto-generate skeleton legal briefs with evidence-backed arguments.

  4. Frontend (React + Tailwind) for file upload, queries, and results.

  5. Backend (FastAPI + LangChain) handles embeddings, retrieval, and orchestration.

Why it’s impactful:

  • ⏱ Saves hours β†’ contracts summarized in minutes.

  • βš–οΈ Makes law accessible β†’ non-lawyers can understand documents.

  • πŸ’° Reduces legal costs β†’ automates first drafts & clause detection.

  • πŸ“‘ Increases trust β†’ answers come with real citations from documents.

Future scope:

  • Voice-based search & response.

  • Multi-language legal support.

  • Fine-tuning for specific domains (contracts, compliance, case law).

  • Integrations into enterprise document workflows.

This build was uploaded as a hackathon project

Hackathon

VIT CODE APEX'25 - VIT CODE VERSE

View All Projects
Give a star to encourage!Discussion
Start a new conversation!
Login to join the discussion