- Create
.env
file and putOPENAI_API_KEY=<key>
in it. - Create an environment by running
python -m venv .venv
and activating it with.\.venv\Scripts\activate
- Download the dependencies by running
pip install -r requirements.txt
. - Run with
python main.py
- Candy - a class with a number of useful ways to automate and simplify openai api queries.
candy.py
- Nougat - a class for interacting and querying sqlite db for similar concepts.
nougat.py