This is a simple chatbot using the OpenAI ChatGPT API. It allows you to chat with a text-based interface in your console.
Before running this project, you will need to have an OpenAI API key. You can get one for free by signing up at https://beta.openai.com/signup/.
To run the chatbot, clone this repository and run the following command in the project directory:
Copy code
OPENAI_TOKEN=your_api_key
cargo runReplace your_api_key with your OpenAI API key.
You can then start chatting with the chatbot by typing in your messages and pressing Enter. The chatbot will respond with a generated response.
This project is licensed under the MIT License. See LICENSE for more details.