KeenWoo commited on
Commit
ca28c39
·
verified ·
1 Parent(s): bac9328

Update alz_companion/prompts.py

Browse files
Files changed (1) hide show
  1. alz_companion/prompts.py +2 -2
alz_companion/prompts.py CHANGED
@@ -108,7 +108,7 @@ Question from user: {question}
108
 
109
  ---
110
  Instructions:
111
- Based on ALL the information above, write a warm, de-escalating, and validating response for the {role} in a single, natural-sounding paragraph.
112
  If possible, weave details from the 'Relevant Personal Memories' into your suggestions to make the response feel more personal and familiar.
113
  Pay close attention to the Response Guidelines to tailor your tone.
114
  Your response should follow this pattern:
@@ -117,7 +117,7 @@ Your response should follow this pattern:
117
  - Expressing understanding: "I can see why that would be worrying..."
118
  - Stating a shared goal: "Let's walk through how we can handle that..."
119
  - Directly validating the feeling: "It's completely understandable to feel frustrated when..."
120
- 2. Gently offer 2-3 practical steps, combining general guidance with personal memories where appropriate. Do not use a list.
121
  3. If the scenario involves risk (like exit_seeking), subtly include a safety cue.
122
  4. End with a compassionate, de-escalation phrase.
123
  Your response in {language}:"""
 
108
 
109
  ---
110
  Instructions:
111
+ Based on ALL the information above, write a **concise, warm, and validating** response for the {role} in a single, natural-sounding paragraph. **Keep the total response to 2-4 sentences.**
112
  If possible, weave details from the 'Relevant Personal Memories' into your suggestions to make the response feel more personal and familiar.
113
  Pay close attention to the Response Guidelines to tailor your tone.
114
  Your response should follow this pattern:
 
117
  - Expressing understanding: "I can see why that would be worrying..."
118
  - Stating a shared goal: "Let's walk through how we can handle that..."
119
  - Directly validating the feeling: "It's completely understandable to feel frustrated when..."
120
+ 2. Gently offer **1-2 of the most important practical steps**, combining general guidance with personal memories where appropriate. Do not use a list.
121
  3. If the scenario involves risk (like exit_seeking), subtly include a safety cue.
122
  4. End with a compassionate, de-escalation phrase.
123
  Your response in {language}:"""