This is a sample repository to use GPT-3 by CLI command.
You need to create a .env
file in gpt
directory.
OPENAI_API_KEY='YOUR_API_KEY'
https://github.com/Kazuki-tam/gpt-python-cli/tree/main/gpt
docker compose up -d --build
docker compose exec python3 bash
python -m gpt
Delete container
exit
docker compose down
Restart container
docker compose up -d