The OpenAI Tutor is a console-based application that leverages OpenAI's GPT-3.5-turbo model to provide a conversational AI tutor experience. Users can ask questions, and the AI will provide answers on a wide range of topics.
- .NET 6
- An OpenAI API key (sign up at OpenAI)
-
Clone the repository: git clone https://github.com/SubLoadedZA/openai-tutor.git
-
Change the directory to the cloned repository: cd openai-tutor
-
Open the
appsettings.json
file and replaceyour_openai_api_key_here
with your actual OpenAI API key:
{
"OpenAI": {
"ApiKey": "your_openai_api_key_here"
}
}
-
Run the project.
-
The OpenAI Tutor will prompt you to ask any question. Type your question and press enter
-
To restart the conversation, type /restart and press Enter.
This project is licensed under the MIT License.