#cli #openai #api #llm #response #interact

bin+lib gpt4

a cli to interact with the openai gpt4 api

4 releases

0.1.3 Feb 19, 2024
0.1.2 Jan 6, 2024
0.1.1 Jan 6, 2024
0.1.0 Jan 6, 2024

#80 in #llm

MIT license

2.5MB
129 lines

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 (compiled languages >>> )

usage

gpt4 "your prompt"

installation

install with cargo

cargo install gpt4-cli

add api key to $HOME/.config/gpt4-cli/config.toml

openai_api_key="your api key"

full send!


example

example prompt

example response

Dependencies

~13–28MB
~431K SLoC