/chainlit-chatbot

Primary LanguagePythonMIT LicenseMIT

Chainlit chatbot

Prerequisite

  1. Python 3.11

Setup

  1. Clone this repo

  2. Create virtual environment

    python -m virtualenv venv
    source ./venv/Scripts/activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Open a MongoDB Atlas account, create a database and copy MONGO_URI

  5. Copy .env.example to .env and replace with real values

Running

  1. Start the app using chainlit
chainlit run chatbot.py
  1. You will be prompted to enter user name, password

  2. Define a business name to store on the database

  3. Enter configuration variables

  4. Start asking questions when you see the prompt: "Ask me anything!" from "Personal Assistant".