/ChatBot-PDF

An AI chatbot🤖 for conversing with your PDF data 📄. Built using Langchain, OpenAI, and Streamlit ⚡

Primary LanguagePythonMIT LicenseMIT

ChatBot-PDF 🤖

An AI chatbot featuring conversational memory, designed to enable users to discuss their PDF in a more intuitive manner. 📄

By integrating the strengths of Langchain and OpenAI, ChatBot-PDF employs large language models to provide users with seamless, context-aware natural language interactions for a better understanding of their data.🧠

This is a fork of ChatBot-CSV by yvann-hub, many thanks to him for his work. 🤗

Running Locally 💻

Follow these steps to set up and run the service locally :

Prerequisites

  • Python 3.8 or higher
  • Git

Installation

Clone the repository :

git clone https://github.com/gabacode/ChatBot-PDF

Navigate to the project directory :

cd ChatBot-PDF

On Linux or MacOS, you can just run the launcher script :

./launch.sh

Or if you are on Windows, or prefer to run the commands manually :

Create a virtual environment :

python -m venv .venv
.\.venv\Scripts\activate

Install the required dependencies in the virtual environment :

pip install -r requirements.txt

Launch the chat service locally :

streamlit run main.py

That's it! The service is now up and running locally. 🤗

Contributing

Contributions are always welcome! If you want to contribute to this project, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.