Ask Anything From ChatGPT written in Rust , Use From Terminal

Added Comments to Understand the Rust Code

How to Run

  • Clone the Repo

  • Get the API Key from OPENAI

  • Create a .env file in the root directory and add the API Key as

OAI_TOKEN=YOUR_API_KEY
  • Modify the Preamble in the main.rs file

  • Run the following command

cargo run