Debapriya-source/nyaya-gpt
AI agent with RAG+ReAct on Indian Constitution & BNS
Combines ReAct reasoning with RAG retrieval over a FAISS vector database of the Indian Constitution and BNS, allowing the agent to iteratively refine queries across multiple thought-action cycles before generating answers. Implements multi-step legal document reasoning using LangChain's create_react_agent with Groq's Llama 3 LLM, embedding documents with HuggingFace's all-mpnet-base-v2 model for semantic search. Chunks and indexes legal texts with RecursiveCharacterTextSplitter, then surfaces a Streamlit interface for conversational legal queries with built-in error handling and memory across conversation turns.
No commits in the last 6 months.
Stars
79
Forks
19
Language
Python
License
—
Category
Last pushed
Jun 27, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/Debapriya-source/nyaya-gpt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
adityaprasad-sudo/ExploreSingapore
A sophisticated RAG intelligence engine for Singaporean laws, policies, and history. Comes with...
Ramseygithub/ai-legal-compliance-assistant
AI-powered legal compliance assistant for alcohol beverage pricing laws — extracts, analyzes,...
GitWitAnish/Vidhi.ai
Vidhi.ai is an intelligent legal assistant and navigator built to make legal knowledge and...
petrosrapto/PAKTON
Code for "PAKTON: A Multi-Agent Framework for Question Answering in Long Legal Agreements",...
HamzaG737/legal-code-rag
Repo for advanced RAG evaluation on french legal Code data