Debapriya-source/nyaya-gpt

AI agent with RAG+ReAct on Indian Constitution & BNS

31
/ 100
Emerging

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.

No License Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 9 / 25
Maturity 1 / 25
Community 19 / 25

How are scores calculated?

Stars

79

Forks

19

Language

Python

License

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.