Skip to content

mongodb-developer/atlas-chatbot-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlas Chatbot Sandbox

This repository contains a chatbot project.

Files

  • chatbot.py: Main chatbot script.
  • requirements.txt: Python dependencies.

Prerequisites

The deployment require a docker deamon. The most convenient way is to use GitHub codespaces.

Getting Started

  1. Clone the repository:
    git clone https://github.com/mongodb-developer/atlas-chatbot-sandbox.git
  2. Navigate to the project directory:
    cd atlas-chatbot-sandbox
  3. Ensure Docker is running on your machine.
  4. Install the dependencies:
    pip install -r requirements.txt
  5. Edit .env file and add your OpenAI api key:
    OPENAI_API_KEY=sk-xxxxxxxxxxxx
  6. Run the chatbot:
    chainlit run chatbot.py

Upload a PDF file and chat regarding nits context.

Local Atlas Deployment

This project uses the Tomodo project to have a local Atlas deployment for vector search.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages