Skip to content

suryanshgupta9933/Law-GPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Law-GPT

This repository contains the code for a chatbot using Langchain and backed by Llama-7B-chat by Meta using Huggingface and Streamlit for frontend UI.

Table of Contents

  1. Installation
  2. Usage

Installation

  1. Clone the repository
git clone https://github.com/suryanshgupta9933/Law-GPT.git
  1. Create a virtual environment
python3 -m venv venv
  1. Activate the virtual environment
source venv/bin/activate
  1. Install the requirements
pip install -r requirements.txt

Usage

  1. Ingesting Knowledge into the Chatbot.
    • Add your pdfs or docx files to the dataset folder.
    • Run the following command to ingest the knowledge into the chatbot.
    python ingest.py
    
    • This will create a /vectorstore folder which will contain the vectorized knowledge.
  2. Running the Chatbot.
    • Run the following command to start the chatbot.
    python app.py
    

About

Chatbot for Indian Law using Llama-7B-chat using Langchain integration and Streamlit UI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages