A docker container to communicate with the ChatGPT API with various pre-written prompts.
prompts | ||
.gitignore | ||
config.example.yaml | ||
Dockerfile | ||
README.md | ||
run.sh |
Basic docker container for this ChatGPT CLI with some pre-written prompts for various purposes.
To use, first copy config.example.yaml
to config.yaml
and edit it with your OpenAI API key, then build the container:
docker build -t chatgpt .
Now you can run the container to talk to ChatGPT from your terminal:
docker run --rm -it chatgpt
Or you can provide the name of a prompt (this is the file name from the prompts
directory without the .txt
extension):
docker run --rm -it chatgpt glados