Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚖️ LegalSathi AI

A multilingual AI system that simplifies complex legal documents from PDFs and images using LLMs, OCR, and a translation pipeline.


🌐 Live Demo

👉 https://legal-sathi-eight.vercel.app/


🔍 Problem

Legal documents are often:

  • Difficult to understand due to complex language
  • Not accessible to non-English speakers
  • Dependent on expensive legal consultation

This creates a major barrier to access to justice.


💡 Solution

LegalSathi enables users to:

  1. Upload a legal document (PDF or image)
  2. Extract and understand its content using AI
  3. Receive a simplified explanation in:
    • English
    • Hindi
    • Malayalam

🔄 Translation Pipeline

The system follows a structured pipeline:

  1. Extract raw legal text from input
  2. Convert complex legal language → simple English using LLM
  3. Translate simplified output into Hindi and Malayalam

🚀 Features

  • 📄 Upload PDF or scanned legal documents
  • 🤖 AI-powered explanation using Groq (LLaMA 3.3 70B)
  • 🌐 Multilingual output (English, Hindi, Malayalam)
  • 🔒 Privacy-first: documents are not stored
  • ⚡ Fast response generation

🛠️ Tech Stack

Layer Technology
Frontend React + Vite + Tailwind CSS
Backend Django + Django REST Framework
AI Groq API (LLaMA 3.3 70B)
Languages English, Hindi, Malayalam

📸 Screenshots

Home Page

Home

Result Page

Result


⚠️ Limitations & Risks

  • AI may generate incorrect or incomplete legal interpretations
  • Outputs should not be treated as professional legal advice
  • Risk of hallucination in LLM responses

🌍 Impact

LegalSathi aims to:

  • Improve access to legal information
  • Reduce language barriers in law
  • Empower users without legal background

👨‍💻 Author

Adila Jaleel — Full Stack Developer

About

AI-powered legal document simplifier — Upload any legal document and get instant explanation in simple English, Hindi or Malayalam

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages