Skip to content

Commit

Permalink
Minor changes in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheR1D authored Mar 18, 2023
1 parent c06dcea commit b53b374
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ Run the container using the `OPENAI_API_KEY` environment variable, and a docker
docker run --rm \
--env OPENAI_API_KEY="your OPENAI API key" \
--volume gpt-cache:/tmp/shell_gpt \
ghcr.io/TheR1D/shell_gpt --chat rainbow "what are the colors of a rainbow"
ghcr.io/ther1d/shell_gpt --chat rainbow "what are the colors of a rainbow"
```

Example of a conversation, using an alias and the `OPENAI_API_KEY` environment variable:
```shell
alias sgpt="docker run --rm --env OPENAI_API_KEY --volume gpt-cache:/tmp/shell_gpt ghcr.io/TheR1D/shell_gpt"
alias sgpt="docker run --rm --env OPENAI_API_KEY --volume gpt-cache:/tmp/shell_gpt ghcr.io/ther1d/shell_gpt"
export OPENAI_API_KEY="your OPENAI API key"
sgpt --chat rainbow "what are the colors of a rainbow"
sgpt --chat rainbow "inverse the list of your last answer"
Expand All @@ -243,4 +243,4 @@ sgpt --chat rainbow "translate your last answer in french"
You also can use the provided `Dockerfile` to build your own image:
```shell
docker build -t sgpt .
```
```

0 comments on commit b53b374

Please sign in to comment.