Skip to main content

Scenario

AI tutor for language, math, or coding inside a learning platform that needs to adapt to individual student needs.

Extraction

From student questions, answers, and exercises, GetProfile keeps traits like:
  • skill_level per topic: vocab, grammar, integrals, recursion…
  • learning_style: prefers step-by-step vs big-picture explanations
  • common_mistakes[]: typical grammar/calc errors
  • motivation_pattern: often gives up early vs pushes through
It updates these as the student improves or regresses.

Injection

Before each tutoring LLM call, GetProfile injects:
  • Profile summary:
    • “Intermediate grammar, weak with conditionals; prefers concrete examples; often confused by abstract explanations.”
  • A few targeted memories:
    • last explanation that worked,
    • last couple of failed attempts on the same concept.

Impact

The tutor can:
  • Choose the right difficulty and explanation style.
  • Remind the student of previous successful strategies.
  • Avoid re-trying explanations that already failed.

Implementation

Trait Schema Example

Memories API

Store and retrieve learning milestones and breakthroughs

Traits API

Update skill levels as students progress