-
-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a feature to /education that lets people add educational videos from YouTube just from a link #3769
Comments
/assign |
You cannot be assigned to this issue because you are already assigned to the following issues without an open pull request: #3730. Please submit a pull request for these issues before getting assigned to a new one. |
/assign |
Hello @deepan190703! You've been assigned to OWASP-BLT/BLT issue #3769. You have 24 hours to complete a pull request. |
Fixes OWASP-BLT#3769 Add AI-generated transcript and quiz feature for educational videos on `/education`. * **Models**: - Add `transcript` and `quiz` fields to `Lecture` model in `website/models.py`. - Add `generate_transcript_and_quiz` method to `Lecture` model for AI integration. * **Views**: - Update `add_lecture` and `edit_lecture` views in `website/views/education.py` to call `generate_transcript_and_quiz` method for video lectures. * **Templates**: - Add fields for displaying AI-generated transcript and quiz in `website/templates/education/includes/add_lecture_modal.html`. - Add JavaScript to handle AI transcript and quiz generation in `website/templates/education/includes/add_lecture_modal.html`. * **Serializers**: - Update `LectureSerializer` in `website/serializers.py` to include `transcript` and `quiz` fields.
we would not use the API unless specified. We have code for the openai integration you can use for the transctiption parsing - we don't want to save the transcript, just use it to generate the quiz and verify it is an educational video |
Add methods to handle AI-generated quizzes and educational video verification * **website/models.py**: Add `generate_quiz` and `verify_educational_video` methods to `Lecture` model. * **website/views/education.py**: Update `add_lecture` and `edit_lecture` views to call `generate_quiz` and `verify_educational_video` methods. Add `parse_transcript` function to handle transcript parsing using OpenAI integration. * **website/serializers.py**: Remove `transcript` field from `LectureSerializer`.
Fixes OWASP-BLT#3769 Add feature to allow users to add educational YouTube videos with AI-generated quizzes. * Add `YouTubeVideoForm` in `website/forms.py` to handle YouTube link input and description. * Add `add_youtube_video` view function in `website/views/education.py` to handle form submission, validate YouTube link, process video transcript using OpenAI, generate quiz, and save lecture. * Update `website/templates/education/education.html` to include a form for inputting YouTube video link and description. * Add new modal for adding YouTube videos in `website/templates/education/includes/add_lecture_modal.html` with fields for YouTube link and description.
⏰ This issue has been automatically unassigned due to 24 hours of inactivity. The issue is now available for anyone to work on again. |
/assign |
Hello @Aditya-Prakash14! You've been assigned to OWASP-BLT/BLT issue #3769. You have 24 hours to complete a pull request. |
⏰ This issue has been automatically unassigned due to 24 hours of inactivity. The issue is now available for anyone to work on again. |
We then use AI to check the transcript and label the video appropriately we can also add a ai generated mini quiz after they watch it
The text was updated successfully, but these errors were encountered: