How Duolingo designs structured LLM-powered conversations for Video Call with Lily
Letting an LLM converse freely with language learners produces generic, off-character, off-level responses; Duolingo needed a structured pipeline to ensure every Video Call with Lily stays at the right CEFR level, matches Lily's established personality, and has a clear conversational purpose.
Two failure modes emerged during development: combining all instructions into one prompt overloaded the LLM and produced overly complex sentences or missing vocabulary; and without mid-call evaluation, Lily would ignore learner cues and stay on her pre-assigned topic regardless of what the learner wanted to discuss.
Duolingo built a structured multi-prompt pipeline for Video Call with Lily featuring separate first-question generation, persistent user memory via a List of Facts, and dynamic mid-call evaluation, enabling personalized, level-appropriate speaking practice.
Frequently asked questions
What did this team achieve with this AI workflow?
Duolingo built a structured multi-prompt pipeline for Video Call with Lily featuring separate first-question generation, persistent user memory via a List of Facts, and dynamic mid-call evaluation, enabling personaliz…
What tools did this team use?
ChatGPT, Claude, Gemini.
What results were reported?
Call experience quality: delight and sass—and, of course, the opportunity for speaking practice; Personalization outcome: personalized and magical; Learner speaking confidence: practice speaking without fear (source-reported, not independently verified).
What failed first in this deployment?
Two failure modes emerged during development: combining all instructions into one prompt overloaded the LLM and produced overly complex sentences or missing vocabulary; and without mid-call evaluation, Lily would igno…
How is this workflow AI workflow structured?
Learning designer writes system instructions → Conversation Prep: first question generated → List of Facts loaded into System → Opener greeting delivered → Main conversation back-and-forth → Mid-call evaluation of learner intent → Closer triggered by program → Post-call memory extraction.