System Architecture
Visual breakdown of the automated EdTech content generation factory. These pipelines ingest unstructured PDFs and output fully structured, bilingual, and validated micro-learning courses.
Automated Course Generation & Translation
A multi-agent, adversarial LLM architecture designed to solve the "where-to-start" paralysis for new users by converting dense scholarship into structured micro-learning.
Gemini 2.5 Flash ingests the entire raw PDF (utilizing the 1M context window) to categorize source tiers, define tags, and establish the structural chunking strategy.
Claude Sonnet 4.5 generates course sections, which are immediately validated by an adversarial Sonnet 4 prompt. Sections scoring < 4/5 trigger targeted retroactive repairs.
Deterministic regex strips inconsistent culturally specific titles (saving tokens), while Claude dynamically merges and reorganizes the content into a strict 4-table relational schema.
Cost arbitrage routing: Haiku performs bulk translation, Sonnet 4 validates 4 dimensions of quality, and Sonnet 4.5 repairs only the specific rows that fail exact terminology standards.
Orchestration Logic
Node-level execution mapped directly from the n8n orchestration layers. Highlights adversarial quality gates, deterministic fallbacks, and cost-optimized model routing.