File size: 2,210 Bytes
02c656c
 
 
 
 
 
 
 
 
 
 
 
3735ac3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02c656c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
title: Nyaya Mitra
emoji: 🏃
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.6.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: AI Legal Assistant for Indian Criminal Laws
---
# Nyaya-Mitra (न्याय-मित्र)

Your AI Legal Companion for India's New Criminal Laws

<div align="center">
  <img src="https://w7.pngwing.com/pngs/448/255/png-transparent-themis-lady-justice-justice-lady-hand-logo-monochrome-thumbnail.png" alt="Lady Justice" width="200"/>
</div>

## Overview

Nyaya-Mitra (न्याय-मित्र) symbolizes:
- ⚖️ Justice (Nyaya)
- 🤝 Friendship (Mitra)
- 🔍 Knowledge
- 💡 Guidance

[Rest of the README content remains the same...]
## Overview

Nyaya-Mitra is an advanced AI-powered legal assistant designed to help Indian citizens understand and navigate the newly implemented criminal laws:

- **Bharatiya Nyaya Sanhita (BNS)** - Replacing Indian Penal Code
- **Bharatiya Nagarik Suraksha Sanhita (BNSS)** - Replacing Code of Criminal Procedure
- **Bharatiya Sakshya Adhiniyam (BSA)** - Replacing Indian Evidence Act

## Features

- 📚 **Comprehensive Legal Information**: Access detailed information about BNS, BNSS, and BSA
- 🔍 **Intelligent Search**: Find relevant legal provisions using natural language queries
- 📝 **Document Guidance**: Get information about required documents for legal procedures
- 💡 **Simplified Explanations**: Complex legal concepts explained in simple terms
- 🔗 **Source Citations**: All information backed by relevant sections from official documents

## Technology Stack

- **AI Engine**: Mistral AI
- **Embeddings**: Sentence Transformers
- **Vector Store**: ChromaDB
- **UI Framework**: Gradio
- **PDF Processing**: PyPDF2
- **Language**: Python 3.8+

## Installation

1. Clone the repository:
```bash
git clone https://huggingface.co/spaces/veerukhannan/nyaya-mitra
cd nyaya-mitra

This README provides:
1. Clear project description
2. Feature overview
3. Technical details
4. Installation instructions
5. Usage examples
6. Important disclaimers
7. Contribution guidelines



Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference