CLI interface for OpenAI API.
If you wish to run this program on Windows, you need a terminal that supports ANSI escape codes and raw mode.
# Clone the repository
git clone --depth 1 https://github.com/ZmoleCristian/chad-llm.git chad-llm
# Change directory
cd chad-llm
# Build and run with cargo
cargo build --release
First, a value for the OPENAI_API_KEY
environment variable is required. Get
one from the OpenAI platform.
Make sure you have credits as well. You can set it up to auto-add credits.
Finally, run the program: ./target/release/chad-gpt
.
This project is licensed under the BSD-3-Clause license. For more information read the license file.