Admin - Holiday Courses
Generate And Import Validation Exercises
Generate exercises from course content using AI and import them automatically.
This endpoint:
- Fetches the combined content of the SubChapitre's course
- Uses an LLM (prompt pp-admin-content-to-tex-exercises-01) to generate a LaTeX string containing 9 categorized exercises based on this content
- Then, reuses the refactored logic from the existing .tex import feature to parse this AI-generated LaTeX, generate solutions/hints for each exercise, create HolidayCourseExercise documents, and link them to the SubChapitre
post/admin/holiday-courses/subchapitres/{sub_chapitre_id}/generate-and-import-validation-exercises
Request
- Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
- URL: https://api.excellence-ai.com/admin/holiday-courses/subchapitres/{sub_chapitre_id}/generate-and-import-validation-exercises
- Auth: OAuth 2 (password, token URL api/login)
Path parameters
sub_chapitre_idstring required
The ID of the holiday course sub-chapitre
Response
Successful Response
Changes
No operation changes recorded.