Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 392 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 392 Bytes

Chat example in Python

Steps

  • Create a .env file with the openai api key. Look into .env.sample for reference.
  • Run the below commands to execute the chat app for the first time.

In the server root, run:

docker-compose build
docker-compose up

Then in this folder:

python3.11 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
python main.py