Skip to content

luong1409/choi-chatbot

Repository files navigation

Choi Chatbot

Setting Up Instruction and Running

Setup environment

  • If you are using poetry you can start with:
poetry shell
poetry install
  • Then you are done with python dependencies installation.
  • But if you don't have poetry that ok too you can use pip to install dependencies from requirments.txt file as well.
pip install -r requirements.txt
  • or using conda to create new environment.
conda create -n test python=3.11 -y
conda activate test
pip install -r requirements.txt
  • Remember to use python version ^3.11.

Setup OpenAI credential

  • Export OpenAI token by using:
cp .env.development .env
  • Then go the new created file .env to add your OpenAI token: alt text
  • Put your key after equal sign.

Start running

  • After complete install dependecies, you can now start running the chatbot.
  • run these commands to start chatbot.
set -a
source .env
python frontend/front_end.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published