A simple way to communicate with OpenAI using your CLI.
- Currently
Go-GPT
uses OpenAI'sgpt-3.5-turbo
model. While building this projectGPT-4
andgpt-4-32k
has already been released on 14 March, 2023. - Support for
GPT-4
model (coming soon...)
GPT-3
language model currently have limited knowledge of the world until September 2021, soon after upgrading toGPT-4
, it will have better results.GPT-3
language model can’t produce video, sound, or images currently.
-
Golang
1.20
or higher is required to build and run the project. You can find the installer on the official Golang download page Go.dev. -
make go-gpt make build
$ go-gpt
____ ____ ____ _____
/ ___| ___ / ___| _ \_ _|
| | _ / _ \ _____| | _| |_) || |
| |_| | (_) |_____| |_| | __/ | |
\____| \___/ \____|_| |_|
Go-GPT is a simple way to communicate with OpenAI
using your CLI created by @siddhantprateek
To run Go-GPT with Docker, use the following command.
docker run -d --name go-gpt -p 8090:8090
To view logs from the Docker container, use the following command:
docker logs -f go-gpt
- Token Streaming Over CLI
- Implement a loading indicator during response generation.
- Add a
.go-gpt
history file to maintain chat histories and responses.