This project has reached the end of its development as a simple chatgpt chatbot based on your custom knowledge. Feel free to browse the code, but please use other repos like PrivateGPT.
Welcome to the ChatGPT Custom Knowledge Chatbot! This project uses the OpenAI GPT-3.5 model to build a chatbot that can answer questions based on a custom knowledge base.
To get started with this project, follow these steps:
- Clone this repository: Click on the "Code" button and copy the URL. In your terminal, run
git clone https://github.com/robindekoster/chatgpt-custom-knowledge-chatbot.git
. - Install the necessary packages: Navigate to the project directory and run
pip install -r requirements.txt
to install all required dependencies. - Set your OpenAI API key: Run
export OPENAI_API_KEY=<your-api-key>
to set your OpenAI API key as an environment variable. - Add your text documents: Place the text, csv and pdf documents you want the chatbot to use in the
knowledge
directory. - Run the project: Start the chatbot by running
python main.py
in your terminal.
This project uses the following technologies:
We welcome and appreciate any contributions to improve and expand the project. To contribute, please:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes.
- Submit a pull request with a clear description of your changes.
This project is licensed under the MIT License. See the LICENSE
file for details.
This project was created by Robin de Koster. You can find me on GitHub at @robindekoster.
Give this project a ⭐ if you find it useful! Your support is greatly appreciated.
Feel free to reach out with any questions or suggestions, and don't forget to share your own amazing projects using ChatGPT Custom Knowledge Chatbot!