4rknova / euclid

ChatGPT CLI tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Euclid is a simple command line interface for ChatGPT.

Configuration

To use the tool, create a configuration file at your user home directory called ".euclid.yaml" with the following contents:

openai_key: <YOUR OPENAI API KEY>
model_single: gpt-3.5-turbo-instruct
model_chat: gpt-3.5-turbo

For more information on available models, see: https://platform.openai.com/docs/models

Usage

If euclid is run without any arguments, it will do nothing.

The following command line switches are available:

Switch Description
--interactive Launches euclid in interactive mode
--prompt "<string>" Used for one-off interactions

In interactive mode, simply type your prompts and press return to chat with ChatGPT. You can use the up / down arrow keys to navigate previous prompts.

The following commands are supported in interactive mode:

Command Description
/quit Quits the program
/input_history Shows the history of user inputs

About

ChatGPT CLI tool

License:MIT License


Languages

Language:Go 100.0%