Skip to content

vidyanandk/Legal_AI_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview: Legally - A Legal AI Chatbot

Legally is an AI-powered chatbot designed to help users better understand Indian law by providing clear, accurate, and context-aware legal information. The chatbot's main objective is to assist individuals in comprehending the legal implications of various actions, offering corresponding punishments or penalties as outlined in Indian law for specific crimes or offenses.

By leveraging advanced natural language processing (NLP) techniques and Retrieval-Augmented Generation (RAG), the chatbot delivers highly accurate, context-specific legal advice, making it a valuable tool for legal research, education, and decision-making. The project aims to democratize access to legal knowledge and empower users with the ability to understand the law more easily

image image image

Features

I developed Legally, a legal AI chatbot designed to assist with legal research and decision-making by utilizing the Retrieval-Augmented Generation (RAG) pipeline. The project integrated Nomic AI for embeddings and Mistral AI as the language model, leading to:

  • A 30% increase in accuracy for context-aware legal responses.
  • A 40% enhancement in natural language understanding (NLU) capabilities.
  • A 35% improvement in overall response precision, providing more reliable support for legal professionals.
  • Continuous performance optimization, resulting in a 25% boost in the chatbot's effectiveness through advanced NLP techniques.

Technologies Used:

  • LLM,
  • NLP
  • RAG Pipeline,
  • Hugging Face,
  • Streamlit

Installation

To get started with Legal_AI_Chatbot, follow these steps:

  1. Clone the repository:

    https://github.com/vidyanandk/Legal_AI_Chatbot.git
  2. Navigate to the project directory:

    pip install -r requirements.txt

    Then,

    python -m streamlit run model.py

    Or

    streamlit run model.py

Contibuting

Contributions are always welcome! Just raise an issue, we will discuss it.

Contact

For any questions or inquiries, please contact us.

About

Legally is an AI chatbot created to help people understand Indian law easily. The chatbot explains the legal consequences of different actions and provides information about the punishments for various crimes as outlined in Indian law.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors