An AI-Powered Python Script for Teaching Computer Science Topics
AI Prof is a Python script that harnesses the power of Mistral's Mixtral-8x7B-Instruct-v0.1 chat model to deliver automated tutoring on various computer science topics. This script generates questions, provides detailed explanations, and allows users to learn interactively.
- Python 3.6 or higher
- Together AI API key
- Clone the repository: git clone https://github.com/Manav916/AI-Prof.git
- Install the required packages: pip install -r requirements.txt
- Set up the Together AI API key(can get 25$ free in credits on sign up): https://api.together.xyz/settings/api-keys
- Run the script: python app.py
How It Works
- The script teaches Computer Science 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.
Type Doubts if you have any more questions regarding the topic
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.
The number of topics can be increased by simply adding the topic names into the list defined at the beginning.