Inspiration
I wanted to create a tool that genuinely helps students prepare for exams—something more intelligent than flashcards and more engaging than passively reading notes. I asked: what if students could upload their lecture slides, class notes, or key summaries, and instantly generate interactive quizzes, get AI-based evaluations, and even chat with a tutor trained on their own content?
That’s how FinalGuardian came to life.
What it does
FinalGuardian is an AI-powered exam preparation assistant. It allows students to:
- Upload their own notes or lecture slides
- Automatically generate topic-based quizzes
- Submit answers and receive feedback with explanations
- Chat with an AI tutor that can answer questions based on their uploaded materials
How we built it
- Frontend: Built with Streamlit for quick iteration and responsive design
- Backend: FastAPI manages APIs for quiz generation, evaluation, and conversation
- Embeddings: Azure embeddings + ChromaDB for semantic search
- LLM Integration: Azure OpenAI (GPT-4) for generating quiz questions and providing explanations
- LangChain: Used to integrate tool-based retrieval and agent flows
- Deployment: Streamlit Community Cloud (frontend) + Render (backend)
Challenges we ran into
Due to token limits in Azure OpenAI, I had to trim input documents and optimize prompt length. I also had to abandon memory support in the conversational agent to stay within token budgets.
In addition, rate limiting and other API issues led to various failures that required robust error handling.
Accomplishments that we're proud of
- As an AI beginner, I gained hands-on experience with real-world AI application techniques
- Designed and implemented a complete educational tool in a short time
- Integrated LangChain's agent and retriever system with real use cases
- Managed to connect user-generated content with LLMs in a seamless pipeline
What we learned
- How to use vector databases like ChromaDB for semantic document retrieval
- How to make LLMs work well in real apps that users can interact with
- How to build and deploy a multi-component AI app in a short time
What's next for Final Guardian
- Improve the quiz experience with better interaction and answer formats
- Store quiz history and track learning progress
- Reintroduce memory to the conversational agent with efficient management
- Improve frontend design and make it mobile responsive
Log in or sign up for Devpost to join the conversation.