An open API service indexing awesome lists of open source software.

https://github.com/jonaylor89/gpt4-cli

a dummy simple cli to run gpt4 llm in the terminal
https://github.com/jonaylor89/gpt4-cli

chatgpt cli rust

Last synced: about 1 year ago
JSON representation

a dummy simple cli to run gpt4 llm in the terminal

Awesome Lists containing this project

README

          

# gpt4 cli

I built this because I've found it lowkey useful and didn't want to install [the python version a friend of mine built](https://github.com/dmanjunath/gpt4-cli) (compiled languages >>> )

### usage

```sh
gpt4 "your prompt"
```

### installation

install with cargo
```sh
cargo install gpt4-cli
```

add api key to `$HOME/.config/gpt4-cli/config.toml`
```toml
openai_api_key="your api key"
```

full send!

--------------

# example

![example prompt](./assets/Bildschirmfoto%202024-01-06%20um%203.11.33 PM.png)

![example response](./assets/Bildschirmfoto%202024-01-06%20um%203.13.26 PM.png)