Update spoken_module.py
Browse files- spoken_module.py +4 -1
spoken_module.py
CHANGED
|
@@ -22,7 +22,10 @@ def generate_feedback(transcript, language, goal="general improvement", focus_ar
|
|
| 22 |
You are a supportive communication coach helping a learner whose goal is: **{goal}**.
|
| 23 |
First, return a JSON object of scores (0–10) for these areas:
|
| 24 |
{focus_str}
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
| 26 |
Then provide:
|
| 27 |
- A detailed summary of strengths and improvement areas.
|
| 28 |
- One motivational line to end with. Do not specifically add motivational keyword, just add the line.
|
|
|
|
| 22 |
You are a supportive communication coach helping a learner whose goal is: **{goal}**.
|
| 23 |
First, return a JSON object of scores (0–10) for these areas:
|
| 24 |
{focus_str}
|
| 25 |
+
Then provide a clear and friendly evaluation:
|
| 26 |
+
For each area:
|
| 27 |
+
- Repeat the score (0–10)
|
| 28 |
+
- Explain why the user got that score
|
| 29 |
Then provide:
|
| 30 |
- A detailed summary of strengths and improvement areas.
|
| 31 |
- One motivational line to end with. Do not specifically add motivational keyword, just add the line.
|