Skip to content

Add quiz generation service and convert prompts to English#3

Merged
nat50 merged 1 commit into
mainfrom
ai_core
Feb 11, 2026
Merged

Add quiz generation service and convert prompts to English#3
nat50 merged 1 commit into
mainfrom
ai_core

Conversation

@nat50
Copy link
Copy Markdown
Owner

@nat50 nat50 commented Feb 11, 2026

  • Add QuizService with prompt, JSON parsing, validation, and retry logic
  • Add generate_quiz API endpoint (POST /ai/quiz/generate/)
  • Support configurable num_questions and difficulty (easy/medium/hard)
  • Convert LessonService prompt from Vietnamese to English
  • Clean up duplicate imports in views.py and init.py

- Add QuizService with prompt, JSON parsing, validation, and retry logic
- Add generate_quiz API endpoint (POST /ai/quiz/generate/)
- Support configurable num_questions and difficulty (easy/medium/hard)
- Convert LessonService prompt from Vietnamese to English
- Clean up duplicate imports in views.py and __init__.py
@nat50 nat50 merged commit 24187ad into main Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant