| Crates.io | rustgpt |
| lib.rs | rustgpt |
| version | 0.1.2 |
| created_at | 2023-07-31 16:27:03.302213+00 |
| updated_at | 2023-08-04 20:47:16.794264+00 |
| description | Yet another command-line chat GPT frontend written in Rust. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 931031 |
| size | 102,828 |
Yet another command-line chat GPT frontend written in Rust.

cargo install rustgpt
{} to enter multiline mode)CTRL + RCTRL + LCTRL + C twice$ cargo build --release
Quickly run
$ cargo run
To get the most basic of setups up and running you need to create a .env file and populate it with your api key
touch .env
Edit your .env file by adding your api key.
API_KEY=sk-...
To exit the program simply Ctrl + C twice.
API_KEY: Set this to your chat gpt api keyCONTEXT: (Optional) Set this to true if you want to keep context in your conversation. Default false.HISTORY: (Optional) Set this to true if you want to store your chat history. Default false.MODEL: (Optional) Set this to any of the models supported by OpenAI (gpt-4, gpt-4-0314, gpt-4-32k, gpt-4-32k-0314, gpt-3.5-turbo, gpt-3.5-turbo-0301) Default gpt-3.5-turboTYPING_DELAY: (Optional) Set the delay between each letter in milliseconds (Default 10)