Inspiration
As a student, I often end up with long lecture notes and PDFs that are hard to revise quickly. I wanted a simple tool that could turn any study material into something interactive — where I can ask questions, get a clean summary, or generate a quick quiz without switching between multiple apps.
What it does
StudyMate is an AI study assistant that lets you:
- Upload a PDF or paste your notes
- Ask questions about the content
- Generate a clear summary with one click
- Create a 10-question quiz based on your material from a 30 question bank
It uses the actual content you provide, so the answers and quizzes stay relevant to what you’re studying.
How I built it
I built StudyMate with:
- Streamlit for the interface
- pypdf to extract text from PDFs
- Groq (openai/gpt-oss-120b) as the free LLM for answering questions, summarizing, and generating quizzes
- Simple prompt templates for Q&A, summary, and quiz generation
The app keeps things beginner-friendly: no vector database in the first version. It works by sending the study material + the user’s request to the LLM with carefully written prompts.
Challenges I ran into
- Making sure the app works well with free AI APIs (no paid subscriptions)
- Handling different PDF formats and keeping the text clean enough for the model
- Designing prompts that give useful summaries and quizzes instead of generic answers
- Keeping the whole experience simple so anyone can use it quickly
Accomplishments that I'm proud of
- Built a fully working AI study tool in a short time
- Made it usable with a free API key (Groq)
- Created a clean interface that feels helpful rather than complicated
- Learned how to structure prompts for different study tasks (Q&A, summary, quiz)
What I learned
- How to connect a free LLM API to a real application
- How important prompt design is for getting useful educational outputs
- How to build and ship a small AI product quickly using Streamlit
- Practical experience with handling documents and turning them into interactive study tools
What's next for StudyMate
- Add support for longer documents with better chunking
- Let users save quizzes and track weak areas
- Add an “Explain like I’m 15” mode for difficult concepts
- Deploy it so anyone can try it without installing anything