/gpt-chat-cli

Simple bash script depending on curl and jq to chat with GPT-3.5 and GPT-4 in your terminal

Primary LanguageShell

gpt-chat-cli

Simple bash script depending on curl and jq to chat with GPT-3.5 and GPT-4 in your terminal, with streaming support!

Usage

# add your api key and select the desired model
OPENAI_API_KEY='sk-xx' CHAT_MODEL_NAME='gpt-3.5-turbo-0301' bash chat.sh

Screenshots

image