Get an OpenAI API Key from here
NOTE: Using OpenAI's API Key incur some minor charges. You will have to add your credit card details to get the API Key.
Add the api key to a .env
file in the root directory of the project.
The .env
file should look something like this
OPENAI_API_KEY="your-api-key-here"
OR, in root directory of the project, run the following command in terminal
echo "OPENAI_API_KEY=your-api-key-here" >> .env
Python v3.11.3
NOTE: If not using
pyenv
then remove thepyenv local 3.11.3
line from the commands below.
pyenv local 3.11.3
python -m venv .venv
pip install --upgrade pip
pip install -r requirements.txt