Skip to content

LLM RAG Chatbot to provide better answers for legal questions

Notifications You must be signed in to change notification settings

jeraldhan92/lawbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LawBot Project

Welcome to the LawBot project! The Law Chatbot is a conversational AI application designed to assist users with legal inquiries, providing information, guidance, and answers to common legal questions. Whether users are seeking legal advice or general information, the chatbot aims to facilitate a user-friendly and accessible interface for navigating legal topics.

Table of Contents

Getting Started

Follow these steps to get the project up and running on your local machine.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.8 installed on your system.
  • [Optional] Virtual Environment

Installation

  1. Create a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate
    
  2. Run the Backend Development Server (Start the FastAPI development server):

    Build the backend Docker image:

    bash
    docker build --no-cache -t backend:v0 -f backend.DockerFile .
    
    chmod 755 run_docker_build.sh
    ./run_docker_build.sh
    
    chmod 755 run_backend_docker.sh
    ./run_backend_docker.sh
    
    

    Configure the parameters for each response fields with its specified value. image

  3. Run the Frontend Development Server (Streamlit)

    chmod 755 run_frontend.sh
    ./run.sh
    

Authors

Author Email
Low Shi Jer [email protected]
Wai Jin Hui [email protected]
Jerald Han Wang Liang [email protected]
Crystal Toh Yi Shan [email protected]

About

LLM RAG Chatbot to provide better answers for legal questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published