AI Quiz Maker is a web-based application that transforms your notes into interactive multiple-choice quizzes using AI. It was built to help students, educators, and lifelong learners quickly generate study materials without manual question creation.
The inspiration came from the challenge of revising large amounts of study notes in limited time. I wanted a tool that could instantly transform my notes into quiz questions, making active recall effortless and engaging.
- How to integrate OpenAI’s GPT models into a Streamlit application.
- Effective prompt engineering to generate well-structured multiple-choice questions.
- Building responsive and user-friendly interfaces in Streamlit.
- Deployment of AI-powered applications on the cloud.
- Frontend & Backend: Developed entirely in Python using Streamlit.
- AI Model: Integrated OpenAI GPT API for question generation.
- PDF Export: Used the
fpdflibrary to allow users to download quizzes in PDF format. - UI/UX Enhancements: Applied custom CSS to give a modern and clean interface.
- Deployment: Deployed on Streamlit Cloud with environment variables for API key security.
- API Quota Limits: Managing API usage to avoid hitting rate or quota limits.
- Prompt Optimization: Ensuring the generated quizzes were relevant and clearly formatted.
- Deployment Issues: Resolving missing dependencies and secrets setup during cloud deployment.
- Generate multiple-choice quizzes instantly from your text or notes.
- Download quizzes as a PDF file.
- Motivational quotes for an inspiring user experience.
- Simple, minimal, and mobile-friendly interface.
- Python
- Streamlit
- OpenAI GPT API
- FPDF (for PDF export)
- CSS (for styling)
git clone https://github.com/Obananob/CAI.git
cd CAI
## Install Dependencies
pip install -r requirements.txt
## Add API key
add your OpenAI API key to your streamlit cloud secrets or to a .toml file
## Run your app
Streamlit run app.py