math-quiz-bot/
│── README.md
│── requirements.txt
│── quiz_openai.py # OpenAI API version
│── quiz_local.py # Local Ollama version (free)
│── utils/
│ └── pdf_utils.py # PDF text extraction helper
This repo turns your PDF tutorial questions into an endless multiple-choice quiz using AI.
Setup
- Clone repo:
git clone https://github.com/your-username/math-quiz-bot.git
cd math-quiz-bot
- Install dependencies:
pip install -r requirements.txt
-
Install Local Ollama Version Install Ollama https://ollama.ai
-
Pull Ollama
ollama pull mistral
- Run the bot:
#in the repo directory
python quiz_local.py