A CLI application in which integrates OpenAI's GPT-3 API using Rust
I wanted to play with AI a bit, while also getting some practice with Rust.
OpenAI had some models I could try out while using some free credits.
All I had to do was decide on a use case...
It was fun to send them wierd messages, but hopefully I'll expand more on this project during my free time.
-
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"
-
Ask any questions and have fun :D