ChatGPT with Python

In this project we will use the nodejs openai library to interact with the ChatGPT apis

Create environment file

touch .env

put below contents in the file

OPENAI_API_KEY="your-open-api-key"

Install the dependencies

pip install -r requirments.txt

Run the script

python main.py