Inspiration
JusticeMitra was inspired by the need to help women in India better understand their legal rights and protections. Despite the growing awareness of women’s rights, many women, face barriers in accessing legal information and assistance. This project was developed to bridge that gap and empower women by providing instant, reliable legal guidance.
What it does
JusticeMitra is an AI-powered platform that offers legal support to women. By leveraging Retrieval-Augmented Generation (RAG), it retrieves relevant legal documents and provides detailed, context-specific answers to questions regarding women’s rights, laws, and protection mechanisms. The platform also offers emergency contacts and helpline numbers for immediate assistance.
How we built it
JusticeMitra was built using Streamlit for the user interface, LangChain for processing and understanding natural language queries, and FAISS for document retrieval. The RAG framework was integrated to enhance the platform’s ability to provide relevant answers by searching through large datasets of legal documents. HuggingFace embeddings and ChatGroq were used for efficient text processing and AI-based responses.
Challenges we ran into
One of the primary challenges was integrating the RAG model effectively to retrieve and generate accurate, context-specific legal responses. Additionally, working with large PDF datasets and ensuring they were properly indexed and parsed was complex. Ensuring that the legal responses were accurate, reliable, and understandable for the target audience was also a significant hurdle.
Accomplishments that we're proud of
I are proud of the successful integration of the RAG framework, which enables the platform to provide accurate, context-aware legal advice. The interface is user-friendly, and the system retrieves relevant documents quickly. I am also proud of how JusticeMitra bridges the gap between complex legal language and practical, actionable information for women.
What we learned
Through this project, I learned about the challenges and intricacies of integrating AI with real-world legal documents, especially in the context of sensitive social issues. I also gained valuable experience in utilizing FAISS and LangChain to build efficient document retrieval systems. Most importantly, I learned the importance of making legal information accessible and understandable for marginalized communities.
What's next for JusticeMitra
In the future, I plan to expand JusticeMitra by adding more legal documents and resources, covering additional areas of law such as domestic violence, marriage rights, and inheritance laws. I aim to integrate a chatbot feature to assist users more interactively. Moreover, I hope to collaborate with NGOs and legal experts to improve the system's accuracy and outreach, ensuring it reaches more women across India.I will also add multilingual support for indian languages.
Log in or sign up for Devpost to join the conversation.