This repository contains a Legal Assistant designed to handle queries related to Indian civil laws using a Retrieval-Augmented Generation (RAG) pipeline implemented with the LangChain framework. The assistant has been deployed using Streamlit for a user-friendly interface.
- Legal Knowledge Base: Focused primarily on Indian civil laws.
- Query Handling: Ability to understand and process queries related to the Indian legal context.
- RAG Pipeline: Uses a combination of retrieval and generative AI techniques to provide accurate and contextual responses.
- LangChain Framework: Utilizes the power of LangChain for building and managing the RAG pipeline.
- Streamlit Integration: Deployed using Streamlit for easy-to-use web interface.
The data that the assistant uses for context is currently focused on civil laws. To view the specific legal documents included in the knowledge base, please refer to the PDF files located in the data folder of this repository. These pdfs have been downloaded from https://www.indiacode.nic.in
The Legal Assistant is accessible through a Streamlit web application. Click on the link below to access the app and start making queries related to Indian civil law:
Open Legal Assistant on Streamlit
- Enter your legal queries in the input box.
- The assistant will process the query using the RAG pipeline and provide a relevant response based on its knowledge base.
- For best results, queries should be specific and clear.