negi2725 commited on
Commit
884405f
·
verified ·
1 Parent(s): ceb3231

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -13
README.md CHANGED
@@ -1,22 +1,24 @@
1
- ---# Legal RAG Backend
2
-
3
  title: Legal RAG Backend
4
-
5
- emoji: ⚖️A complete FastAPI-based backend for a Legal RAG (Retrieval Augmented Generation) AI system that provides intelligent legal verdict predictions with comprehensive explanations backed by constitutional provisions, IPC sections, case law, and statutes.
6
-
7
  colorFrom: blue
8
-
9
- colorTo: purple## Overview
10
-
11
  sdk: docker
 
 
 
 
12
 
13
- pinned: falseThis system combines:
14
-
15
- license: mit- **LegalBERT** fine-tuned model for verdict prediction
16
 
17
- app_port: 7860- **FAISS** vector search for legal document retrieval
18
 
19
- ---- **Sentence Transformers** (BGE-Large) for semantic embeddings
 
 
 
 
 
20
 
21
  - **Google Gemini** (optional) for generating detailed explanations
22
 
 
1
+ ---
 
2
  title: Legal RAG Backend
3
+ emoji: ⚖️
 
 
4
  colorFrom: blue
5
+ colorTo: purple
 
 
6
  sdk: docker
7
+ pinned: false
8
+ license: mit
9
+ app_port: 7860
10
+ ---
11
 
12
+ # Legal RAG Backend ⚖️
 
 
13
 
14
+ AI-powered legal verdict prediction and judgment generation system.
15
 
16
+ ## Features
17
+ - **LegalBERT Classification**: Fine-tuned model for guilty/not guilty predictions
18
+ - **RAG Retrieval**: Semantic search across 6 legal databases (Constitution, IPC, Case Law, Statutes, Q&A)
19
+ - **Gemini 2.5 Pro**: Generates concise 400-600 word judicial judgments
20
+ - **Confidence-based Override**: AI can override predictions below 80% confidence
21
+ - **Similar Case References**: Mandatory precedent case citations
22
 
23
  - **Google Gemini** (optional) for generating detailed explanations
24