Skip to content

absterjr/AI-Tutor

Repository files navigation

AI-Tutor

An AI-Powered Python Script for Teaching Machine Learning Topics

AI Tutor is a Python script that harnesses the power of OpenAI's GPT-3 language model to deliver automated tutoring on various machine learning topics. This script generates questions, provides detailed explanations, and allows users to learn interactively.

Requirements

  • Python 3.6 or higher
  • OpenAI API key

Installation

alt text

Type Yes to continue on to the next topic.

Or you can use this command or your command line:

  • (Linux, make sure you have python and git installed):
   git clone https://github.com/absterjr/AI-Tutor.git && pip install -r requirements.txt && python3 env.py && python app.py
  • (Windows, make sure you have python and git installed):
  git clone https://github.com/absterjr/AI-Tutor.git && pip install -r requirements.txt && python env.py && python app.py

Usage

How It Works

  • The script teaches machine learning topics.
  • It generates questions and explanations.
  • Users can ask questions and interact with the AI tutor.
  • The script progresses to the next subtopic when the user demonstrates understanding.

You can see an example below.

alt text

Contributing

Contributions to AI Tutor are welcome! If you find a bug or have an idea for a new feature, please open an issue or submit a pull request.

Note: replace "YOUR_API_KEY" with your actual OpenAI API key.

The number of topics can be increased by simply adding the topic names into the list defined at the beginning.

About

An AI-Powered Python Script for Teaching Machine Learning Topics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages