This repository contains a chatbot project.
- chatbot.py: Main chatbot script.
- requirements.txt: Python dependencies.
The deployment require a docker deamon. The most convenient way is to use GitHub codespaces.
- Clone the repository:
git clone https://github.com/mongodb-developer/atlas-chatbot-sandbox.git
- Navigate to the project directory:
cd atlas-chatbot-sandbox - Ensure Docker is running on your machine.
- Install the dependencies:
pip install -r requirements.txt
- Edit
.envfile and add your OpenAI api key:OPENAI_API_KEY=sk-xxxxxxxxxxxx
- Run the chatbot:
chainlit run chatbot.py
Upload a PDF file and chat regarding nits context.
This project uses the Tomodo project to have a local Atlas deployment for vector search.
This project is licensed under the MIT License.