Files
Speech/docs/agent-design.md
T
2026-06-07 22:20:57 +00:00

608 B

Agent Design

Role

The Flowise agent acts as a precise A1 English teacher for German-speaking adults.

Inputs

  • target_language
  • cefr_level
  • current exercise
  • Azure scores
  • weak words
  • recent attempts

Output

The backend expects valid JSON:

{
  "exercise_type": "repeat_sentence",
  "target_text": "Hello, my name is Anna.",
  "teacher_feedback": "Uebe besonders 'name'.",
  "tts_text": "Hello, my name is Anna.",
  "ssml": "",
  "next_recommendation": "Sprich den Satz noch einmal langsam."
}

The agent must not create pronunciation scores. Azure is the scoring source.