Inspiration

In nearly all sectors, consumers increasingly seek more personalization. Today's students, having grown accustomed to tailored experiences in various aspects of their lives, now strongly prefer content that aligns specifically with their course materials in education.

Educational platforms often deliver static, generalized content that fails to address individual student needs or adapt to specific course materials. This mismatch results in decreased engagement, suboptimal learning outcomes, and a growing demand for more adaptive learning tools. The main goal is for students to learn the lecture material effectively as quickly as possible.

As educational platforms attempt to address the growing demand for personalized learning, students often turn to improvised methods that are less than ideal. Leveraging user-friendly interfaces such as ChatGPT and Claude2, students seek alternative learning tactics but encounter these main challenges:

  • Time Intensive Manual Process: The act of students consistently ingesting PDFs or manually transferring information into LLM context windows proves cumbersome. This repetitive engagement with a generalist chat interface detracts from efficient study time allocation.
  • Potential Misdirection: There's an inherent risk with LLMs in that they can generate hallucinations. Consequently, students may inadvertently assimilate incorrect information, jeopardizing their learning outcomes unless they can identify such hallucinations.
  • Lack of Domain Specificity: Students don’t know how to prompt LLMs well and extract the key information from external sources and tools to make it relevant to their course material.

What it does

Dive deep into your course materials and unlock tailored quizzes designed just for you. Simply upload your PDF content and let the magic begin. Here's what you'll get:

  • πŸ“„ Bespoke quizzes paired with comprehensive answer keys.
  • πŸ“˜ A meticulously crafted study guide, outlining the core content.
  • πŸ’‘ An interactive test JSON, perfect for your Streamlit sessions.

At the heart of our system is the mighty GPT-3.5. Harnessing its power, combined with a diverse range of prompts, I ensured quizzes that are challenging, dependable, and finely tuned to your study materials.

Say goodbye to the hassle of manually creating quizzes, passive learning, or the tedium of juggling between multiple AI responses in LLMs. Dive into a study experience that's personalized, efficient, and engineered for success! πŸŽ“πŸŒŸ

I introduce a reliable dynamic quiz generation system that automatically transforms class materials into tailored quizzes for students to use. This solution eliminates the time-consuming manual process of working with LLMs, ensures accuracy by minimizing the risk of misinformation, and is designed to align precisely with specific course content. Thus, students can engage in effective, active learning without the detriments of current makeshift methods.

How we built it

I implemented all the functionality in Python:

  1. I harnessed the power of the gpt-3.5-turbo-16k API to distill content, craft questions, critique them, and refine them for precision.
  2. Meticulous attention was given to curate the prompts, ensuring they were detailed, harmonious, and mitigated hallucinations.
  3. I introduced a feature that seamlessly transforms natural language inquiries into a JSON format, perfectly suited for Streamlit.
  4. Added the capability to instantaneously save study guides and quizzes as PDFs.
  5. Integrated a user-friendly interface that showcases the JSON content, allowing users to engage with and practice quizzes in real time.

Challenges we ran into

  1. My initial plan was to explore the potential of the AutoGen framework for enhanced multi-agent collaboration. But as I expanded the agent count, I encountered rate-limiting obstacles with OpenAI. As a result, I pivoted to a more streamlined strategy, leveraging the OpenAI API and meticulously crafting the prompts by hand.
  2. I was intrigued by the capabilities of the LangChain library to amplify the knowledge within the PDFs. However, I soon recognized that GPT-4 calls, especially with extensive context windows, came with a hefty price tag. While I decided against it for now, I'm open to revisiting this should I secure cost-effective extended context computing or gain access to Anthropic's Claude in the future.

Accomplishments that we're proud of

I'm thrilled with the tool's performance. It generates high-quality questions, tailored specifically to the course materials, and offers an intuitive interface. This makes reviewing materials and engaging in active learning more efficient and straightforward.

What we learned

I learned how to leverage the power of GPT-3.5 to generate quizzes and study guides. I also learned how to craft prompts that are detailed, harmonious, and mitigate hallucinations. Finally, I learned how to transform natural language inquiries into a JSON format, perfectly suited for Streamlit. I also learned how to use Streamlit as well as render PDFs from text files.

What's next for Dynamic Quiz Generation System

  1. A feedback system that dynamically adjusts quiz difficulty according to user responses.
  2. Seamless integration with external educational databases to ensure content accuracy.
  3. User-friendly tools allowing quiz sharing and collaboration among peers.
  4. An analytics platform enabling students to monitor their progress over time.
  5. A comprehensive repository where users can store, organize, and easily access quizzes for later review.

Built With

  • openai
  • pypdf
  • python
  • reportlab
  • streamlit
Share this project:

Updates