32 lines
608 B
Markdown
32 lines
608 B
Markdown
# 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:
|
|
|
|
```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.
|