-
Clone/Fork this repo
-
Get an API secret key from OpenAI
-
Go to your terminal or make a .env file and set OAI_TOKEN=YOUR_API_KEY
-
Modify the premble variable to display how you want the AI to respond
-
Type "Cargo Run"
AkhilSharma90/Rust-Chat-GPT-Project
A simple Rust project that uses chat-gpt, accompanies my YT video of the same name.
Rust