https://github.com/siddhantprateek/go-gpt
π A simple way to communicate with OpenAI using your CLI. Robust solution that lets you effortlessly engage with OpenAI's cutting-edge capabilities.
https://github.com/siddhantprateek/go-gpt
golang gpt-3 in-progress sandbox
Last synced: about 1 year ago
JSON representation
π A simple way to communicate with OpenAI using your CLI. Robust solution that lets you effortlessly engage with OpenAI's cutting-edge capabilities.
- Host: GitHub
- URL: https://github.com/siddhantprateek/go-gpt
- Owner: siddhantprateek
- License: mit
- Created: 2023-04-02T05:10:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T08:09:02.000Z (almost 3 years ago)
- Last Synced: 2025-02-15T16:50:11.147Z (over 1 year ago)
- Topics: golang, gpt-3, in-progress, sandbox
- Language: Go
- Homepage:
- Size: 31.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Go-GPT
A simple way to communicate with OpenAI using your CLI.

---
## Application Features
### π Features
- Currently `Go-GPT` uses OpenAI's `gpt-3.5-turbo` model. While building this project `GPT-4` and `gpt-4-32k` has already been released on 14 March, 2023.
- Support for `GPT-4` model (*coming soon*...)
### β‘Performance
- `GPT-3` language model currently have limited knowledge of the world until September 2021, soon after upgrading to `GPT-4`, it will have better results.
- `GPT-3` language model canβt produce video, sound, or images currently.
## βοΈ Installation
- 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](go.dev).
- ```bash
make go-gpt
make build
```
---
```bash
$ go-gpt
____ ____ ____ _____
/ ___| ___ / ___| _ \_ _|
| | _ / _ \ _____| | _| |_) || |
| |_| | (_) |_____| |_| | __/ | |
\____| \___/ \____|_| |_|
Go-GPT is a simple way to communicate with OpenAI
using your CLI created by @siddhantprateek
```
## π³ To run Go-GPT using Docker
To run Go-GPT with Docker, use the following command.
```bash
docker run -d --name go-gpt -p 8090:8090
```
To view logs from the Docker container, use the following command:
```bash
docker logs -f go-gpt
```
## ποΈ Features to work on
- [ ] Token Streaming Over CLI
- [ ] Implement a loading indicator during response generation.
- [ ] Add a `.go-gpt` history file to maintain chat histories and responses.
## π Author
- [@siddhantprateek](https://github.com/siddhantprateek)
## π License
[MIT](./LICENSE)