DXC LawBot is an interactive chatbot application that allows users to ask questions about legal documents. The chatbot uses natural language processing and machine learning techniques to provide relevant answers based on the content of the uploaded PDF documents.
- User authentication with registration and login
- Upload and process multiple PDF documents
- Chat with a bot to retrieve information from the uploaded documents
- Store and display chat history
- Download chat history
- Python 3.7 or higher
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/yourusername/RAG_ChatBot.git cd RAG_ChatBot
-
Create and activate a virtual environment:
python -m venv venv
-
Install the dependencies: pip install -r requirements.txt
-
Set up environment variables: Create a .env file in the root directory and add the following variables: OPENAI_API_KEY=your_openai_api_key