/Rust-Chat-GPT-Project

A simple Rust project that uses chat-gpt, accompanies my YT video of the same name.

Primary LanguageRust

How to Use

  1. Clone/Fork this repo

  2. Get an API secret key from OpenAI

  3. Go to your terminal or make a .env file and set OAI_TOKEN=YOUR_API_KEY

  4. Modify the premble variable to display how you want the AI to respond

  5. Type "Cargo Run"