Crates.io | chat-tty |
lib.rs | chat-tty |
version | 0.3.4 |
source | src |
created_at | 2023-04-07 08:01:27.818021 |
updated_at | 2023-04-11 23:14:57.515406 |
description | A command-line chatbot for ChatGPT that supports streaming tokens and history |
homepage | https://github.com/seanaye/chat-tty |
repository | https://github.com/seanaye/chat-tty |
max_upload_size | |
id | 832819 |
size | 56,452 |
The content of this readme was assisted by chat-tty
chat-tty is a terminal-based Rust application that allows you to stream completions from OpenAI's ChatGPT model.
Interact with ChatGPT directly in your terminal and experience lightning-fast completions for any use case, including brainstorming ideas , generating content or casual conversations with the AI. Harness ChatGPT's capabilities quickly and easily in this lightweight console-b ased interface.
To build, run and install this application, you need to have the latest version of Rust installed on your computer. You can install Rust by following the instructions at https://www.rust-lang.org/tools/install.
Now, you are ready to install the application!
cargo install chat-tty
Before using the chat-tty, you need to provide a valid OpenAI API key. Set the OPENAI_KEY
environment variable to your Open
AI API key:
export OPENAI_KEY=your_api_key
Now, you can simply run the application by executing:
chat-tty
This project is licensed under the MIT License. See the LICENSE
file for more details.