--- 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
Lady Justice
## 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