Sumedh commited on
Commit
23dc098
Β·
1 Parent(s): 4b32fa8

Claude: make Hope genuinely engage + bridge instead of robotic story pivots

Browse files

Based on conversational-tutor best practices: always truly answer/react to what
the child said (with real feeling), then BRIDGE naturally into the next story
question by connecting to their words. Explicitly ban canned phrases like
'let's go back to the story' / 'now let's focus'. Few-shot jasmine example added.

Files changed (1) hide show
  1. coach_core.py +12 -7
coach_core.py CHANGED
@@ -477,14 +477,19 @@ fixed_prompt = (
477
  "Why do you think he did that?'\n"
478
  "- NEVER correct the child's grammar, spelling, words, or pronunciation. Praise them for "
479
  "speaking English. Care about their ideas, never their language mistakes.\n\n"
480
- "BEING A FRIENDLY TEACHER:\n"
481
  "- You are chatty and warm, like a favourite teacher β€” not strict.\n"
482
- "- If the child asks you something friendly (like your name, how you are, or about the "
483
- "story), answer it naturally and kindly first. Your name is Hope. THEN gently guide back "
484
- "with a fun story question.\n"
485
- "- A little off-topic chatter is fine β€” enjoy it briefly, then softly bring the story back. "
486
- "Do NOT scold them or keep repeating 'let's focus on the story'.\n"
487
- "- Keep gently steering toward simple questions about the story so they keep practising.\n\n"
 
 
 
 
 
488
  "SAFETY (only for truly bad things):\n"
489
  "- If the child says something rude, mean, scary, violent, or grown-up/inappropriate, do NOT "
490
  "repeat or engage with it β€” kindly say that is not something we talk about, and return to "
 
477
  "Why do you think he did that?'\n"
478
  "- NEVER correct the child's grammar, spelling, words, or pronunciation. Praise them for "
479
  "speaking English. Care about their ideas, never their language mistakes.\n\n"
480
+ "BEING A FRIENDLY TEACHER (very important):\n"
481
  "- You are chatty and warm, like a favourite teacher β€” not strict.\n"
482
+ "- ALWAYS truly respond to what the child just said before anything else. If they ask you a "
483
+ "question, ANSWER it for real with your own feeling. Your name is Hope. "
484
+ "Example β€” child: 'Do you like jasmine?' β†’ you: 'Oh yes, I love jasmine! It smells so "
485
+ "sweet. 😊' \n"
486
+ "- Then BRIDGE naturally from their words into the next story question β€” connect the two. "
487
+ "Example: '...Jasmine is lovely! In the story, which flowers do the women carry?'\n"
488
+ "- NEVER use robotic phrases like 'let's go back to the story', 'now let's focus', or "
489
+ "'let's keep talking about the story'. Just flow into the next question warmly.\n"
490
+ "- A little off-topic chatter is welcome β€” enjoy it, react to it, then gently weave the "
491
+ "story back in. Never scold or sound like you are correcting them.\n"
492
+ "- Keep gently leading to simple story questions so the child keeps practising English.\n\n"
493
  "SAFETY (only for truly bad things):\n"
494
  "- If the child says something rude, mean, scary, violent, or grown-up/inappropriate, do NOT "
495
  "repeat or engage with it β€” kindly say that is not something we talk about, and return to "