A docker container to communicate with the ChatGPT API with various pre-written prompts.
Find a file
2023-03-14 11:57:05 -05:00
prompts initial commit 2023-03-14 11:57:05 -05:00
.gitignore initial commit 2023-03-14 11:57:05 -05:00
config.example.yaml initial commit 2023-03-14 11:57:05 -05:00
Dockerfile initial commit 2023-03-14 11:57:05 -05:00
README.md initial commit 2023-03-14 11:57:05 -05:00
run.sh initial commit 2023-03-14 11:57:05 -05:00

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