QuizTube offers an innovative approach to create interactive quizzes from YouTube video captions. By extracting captions using the youtube-transcript-api
and subsequently processing the text with OpenAI's LLM, QuizTube
serves as a powerful tool for enhancing video content interaction.
π Check out the app here: https://quiztube.streamlit.app/
- Caption Extraction: Using the
youtube-transcript-api
, captions are extracted from a given YouTube video URL. - Quiz Generation: The extracted captions are then fed into OpenAI's LLM using
LangChain Python
with a predefined prompt template. The model generates questions based on the content, turning the video's key points into an interactive quiz. - Streamlit Integration: The quizzes are seamlessly integrated and displayed in a Streamlit app, providing users with a unique and interactive experience.
This project was developed as an entry for the Streamlit Hackathon in September 2023.
- πΊ YouTube: CodingIsFun
- π Website: PythonAndVBA
- π¬ Discord: Join the Community
- πΌ LinkedIn: Sven Bosau
- πΈ Instagram: sven_bosau
If you appreciate the project and wish to encourage its continued development, consider supporting my work.
For feedback, suggestions, or potential collaboration opportunities, reach out at contact@pythonandvba.com.