DEV Community

hardik singh
hardik singh

Posted on

1 1 1 1 1

QuizMe.mp3: Turn Your Audio Lessons into Fun Quizzes

This is a submission for the AssemblyAI Challenge : No More Monkey Business.*

What I Built

Quizme.mp3 is a platform where students and learners can upload their audio lessons and receive a generated quiz with 10 questions based on the content of the audio file. Users can then attempt the quiz and receive a report of their responses along with an accuracy score. The website is built using HTML, Tailwind CSS, and the Flask web framework. It integrates AssemblyAI's Lemur for audio transcription and dynamic question generation.

Demo

Visit Quizme.mp3
Home Page
Demo Video

Journey

To create quiz questions from uploaded audio files, I used LeMUR with AssemblyAI's Lemur model. First, the audio file is transcribed using AssemblyAI’s Transcriber. Once we have the transcript, I craft a prompt that asks Lemur to generate 10 multiple-choice questions based solely on the transcript’s content. The questions are designed to be clear, accurate, and directly related to the audio, with the options and correct answers formatted in a neat JSON structure. The Claude 3.5 Sonnet model of Lemur is then used to generate these questions, and the result is returned to the user. This approach ensures the quiz is tailored to the specific audio content, making the whole process dynamic and context-driven.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay