A Python package that uses the OpenAI API to implement an AI-powered math tutor answering elementary level math questions. You can choose to either run an interactive tutoring session or evaluate the AI based on a pre-set list of questions.
- Python 3.6 or later
- OpenAI Python client
openai - Update your Open AI key in the
app.pyfile
Before running the application, please make sure to install all necessary packages using the following command:
pip install -r requirements.txt
-
Interactive mode:
python src/app.py interactive -
Evaluation mode:
python src/app.py evaluate