1 Commits

Author SHA1 Message Date
wangdl
d368f1a97f feat(M-AI-07-03): quiz generation Executor + Validator + prompt/schema
Some checks failed
Deploy API Server / build-and-unit (push) Successful in 37s
Deploy API Server / backward-compat (push) Has been cancelled
Deploy API Server / deploy (push) Has been cancelled
Deploy API Server / current-integration (push) Has been cancelled
Resolves A1/A2: bring quiz prompt + output schema in-house from Runtime.
- quiz-generation.prompt.ts: system prompt with question design principles
- quiz-generation.schema.ts: Zod schema (choice/fill/judge types)
- Registered in PromptTemplateService with key 'quiz-generation' v1.0.0
- Executor: AiGateway call with knowledge items + generation params
- Validator: per-type validation (choice options/index, judge true/false)
- Engine dispatch for quiz_generation job type

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-22 20:40:12 +08:00