Build log/Education

Generating a lesson for the child in front of the teacher

In CurioKids, lesson content is generated for each child. The interesting work is everything around the model: what it starts from, what it may produce, and who decides.

The short answer

  • Generated content should start from what is known about the child: level, interests and what they covered last time.
  • Rules about what suits a child belong in code and review, not only in a prompt.
  • The teacher runs the lesson. Generated material is something to teach from, not a script.

The problem

A teacher running a live English class for a seven-year-old wants material at the right level, about something the child cares about, ready before the call starts. Writing that by hand for every child doesn't scale, and generic worksheets don't hold a child's attention.

CurioKids generates lesson content for the child in front of the teacher. This is how we think about building that kind of feature.

Start from what is known

The model should get structured inputs, not a vague request: the child's level on the CEFR scale, from Pre-A1 for a beginner to A2 for an elementary learner; their age; what they're interested in; and what was covered last time. The output follows a fixed shape the whiteboard understands, such as target words, a warm-up, an activity and a review.

Constrain the output

A lesson for a child has rules: vocabulary that suits the level, sentences of a sensible length, and topics that are appropriate. Some of that can be asked for in the prompt. All of it should also be checked afterwards in code, because a prompt is a request and a check is a guarantee.

The teacher stays in charge

Generated material works best as a draft the teacher can change before the lesson. During the class the teacher decides what to use. Software that tries to run the lesson, instead of supporting the person running it, makes the teacher's job harder.

Cost and speed

Material that is prepared before a class can use a slower, more careful model without making anyone wait. The cost per lesson is known in advance, and it is small next to the cost of the teacher's time.

What carries over to other products

The same pattern works anywhere a professional needs a first draft tailored to one case: a quote for one job, a report for one site visit, a reply to one customer. Structured inputs, a fixed output shape, checks in code and a person who signs it off.

Written by Flavoureak

We build and run Estimark, CurioKids and CalcStack, and we build web and mobile software for other businesses. Start a project.