Yamen Ahmad
|
74c2c9f2d2
|
feat: Generation Page AI workflows + AI/Vector modules + exam session fixes
Generation Page (complete rebuild):
- Full production-parity exam generation wizard with 4 IELTS modules
- Reading: AI passage gen, 5 exercise types (MCQ, Fill, Write, T/F, Match)
- Listening: 4 section types, AI context gen, TTS audio gen (ElevenLabs)
- Writing: Task 1/2, AI instruction gen, word limits, marks
- Speaking: 3 parts, AI script gen, avatar video gen (7 avatars)
- Per-module config: timer, CEFR difficulty, access, approval, rubrics
- Exam submission workflow (draft/published)
Exam Structures:
- New encoach.exam.structure model + CRUD controller
- ExamStructuresPage wired to real API
AI Module (encoach_ai):
- OpenAI service, ElevenLabs TTS, AWS Polly, ELAI avatars
- AI settings model with Odoo config parameters
- 7 generation endpoints (passage, exercises, instructions, scripts, context)
Vector Module (encoach_vector):
- pgvector integration for RAG-based content search
- Embedding service with sentence-transformers
Exam Session Fixes:
- Fixed ExamSession.tsx field mapping (question_type→type, exam_title→title)
- Fixed submit payload to include attempt_id and answers
- Fixed normalizeType to handle null/undefined
Tested: 12/12 API tests passed, browser-verified with real OpenAI calls
Made-with: Cursor
|
2026-04-11 14:27:03 +04:00 |
|
Yamen Ahmad
|
5b2ccbfeec
|
feat(generation): rebuild Generation Page with full AI workflows
- Rebuild GenerationPage.tsx from static placeholder to production-parity
exam generation wizard with all 4 IELTS modules (Reading, Listening,
Writing, Speaking) plus Level and Industry
- Add per-module config: timer, CEFR difficulty tags, access type,
entities, approval workflow, rubric, grading system, shuffling
- Reading: AI passage generation, 5 exercise types (MCQ, Fill Blanks,
Write Blanks, True/False, Paragraph Match), categories/types
- Listening: 4 section types, AI context generation, TTS audio generation
- Writing: Task 1/2, AI instruction generation, word limits, marks
- Speaking: 3 parts, AI script generation, avatar video generation
with 7 avatar options
- Wire ExamStructuresPage to real CRUD API (list/create/delete)
- Add backend exam_structure model and controller (/api/exam-structures)
- Enhance ai_controller with 5 specialized generation handlers
(passage, exercises, writing instructions, speaking script,
listening context)
- Add POST /api/exam/generation/submit for exam creation workflow
- Fix media.service avatar video endpoint alignment
- All 12 API tests passed, browser-verified with real OpenAI calls
Made-with: Cursor
|
2026-04-11 14:21:40 +04:00 |
|
Yamen Ahmad
|
11a7265460
|
feat(v3): restructure project + add complete frontend
- Restructure: move backend from new_project/ to backend/
- Add full React/TypeScript frontend (37 pages, 17 services, 16 type defs, 11 query hooks)
- Add docs/ with SRS specs, user stories, and workflow documentation
- Update .gitignore for new directory layout
Workflows implemented:
WF1 User Signup, WF2 Placement Test, WF3 Exam Configuration,
WF4 General English Exam, WF5 Course Generation,
WF6 Entity Student Onboarding, AI Course Generation,
Adaptive Learning Engine UI, White-Label Branding, Score Release
Made-with: Cursor
|
2026-04-10 17:26:42 +04:00 |
|