🌐 Website: LawGlance
LawGlance is a free, open-source, people-centric initiative 💡 designed to make legal guidance accessible to everyone. Using AI-powered Retriever-Augmented Generation (RAG), LawGlance delivers quick, accurate legal support tailored to your needs, whether you're seeking information as a layperson or a professional.
🛡️ Mission: “Justice should be accessible to everyone. LawGlance ensures that no one is left behind when it comes to legal knowledge.”
This project is developed with support from mentors and experts at Data Science Academy and Curvelogics. 💼
LawGlance currently supports the following laws, with plans to expand internationally:
- 🏛️ The Indian Constitution
- 📜 The Bharatiya Nyaya Sanhita, 2023
- 🚨 The Bharatiya Nagarik Suraksha Sanhita, 2023
- 🧾 The Bharatiya Sakshya Adhiniyam, 2023
Originally launched as Niyam SahaAI, LawGlance aims to cover legal systems from different countries in the near future.
Curious how LawGlance works? Watch this detailed tutorial!
Ready to get started? Follow these simple steps to set up LawGlance on your machine:
-
Clone the Repository 🌀
git clone https://github.com/lawglance/lawglance.git
-
Navigate to the Project Directory 📂
cd lawglance
-
Install Dependencies 📦
pip install -r requirements.txt
-
Set Your OpenAI API Key 🔑
- Open
.env
and add your OpenAI API key:OPENAI_API_KEY=your-api-key-here
- Open
-
Run the Application 🚀
streamlit run app.py
-
Access the App 🌐
Open your browser and visit:http://192.168.29.56:8501
💡 Technology | 🔍 Description |
---|---|
LangChain | Framework for building language models |
ChromaDB | Vector database for RAG implementation |
Django | High-level Python web framework for robust apps |
OpenAI API | Powering natural language understanding |
Exciting developments are planned for LawGlance! Here’s what’s coming next:
- 🎨 Sleeker User Interface: Developing a more user-friendly and visually appealing frontend.
- 🌍 Global Expansion: Supporting legal systems from countries like Canada and more.
- 📑 Expanded Legal Data:
- Supreme Court Judgments
- Women-Centric Laws
- Consumer Protection & Pollution Laws
- 🎙️ Voice Interaction: Talk to LawGlance using voice commands.
- 🌐 Multi-Lingual Support: Providing legal assistance in multiple languages for broader reach.
We are always looking for contributors! Whether you want to help with development, report issues, or request features, we welcome you to fork the repo and submit a pull request. Every contribution helps to make LawGlance better for everyone! 🚀
LawGlance is more than just an AI tool—it's a movement to democratize access to legal knowledge for everyone. Together, let’s make justice truly accessible! ✨