Spaces:
Running
Running
Update alz_companion/prompts.py
Browse files- alz_companion/prompts.py +5 -3
alz_companion/prompts.py
CHANGED
|
@@ -254,7 +254,9 @@ Your single, validating sentence:
|
|
| 254 |
# Simple, In-the-Moment Actions: Suggesting a gentle, immediate activity
|
| 255 |
# ("Let's sit together," "How about we listen to some music?").
|
| 256 |
# Instead of Validate β Inform β Steps/Action for caregivers in ANSWER_TEMPLATE_ADQ
|
| 257 |
-
|
|
|
|
|
|
|
| 258 |
{personal_context}
|
| 259 |
|
| 260 |
---
|
|
@@ -349,9 +351,9 @@ Respond ONLY with information from 'Relevant Personal Memories' above. Never inv
|
|
| 349 |
"""
|
| 350 |
|
| 351 |
|
| 352 |
-
|
| 353 |
# In prompts.py, replace the old ANSWER_TEMPLATE_ADQ with this revised version:
|
| 354 |
-
|
| 355 |
{general_context}
|
| 356 |
|
| 357 |
--- Relevant Personal Memories ---
|
|
|
|
| 254 |
# Simple, In-the-Moment Actions: Suggesting a gentle, immediate activity
|
| 255 |
# ("Let's sit together," "How about we listen to some music?").
|
| 256 |
# Instead of Validate β Inform β Steps/Action for caregivers in ANSWER_TEMPLATE_ADQ
|
| 257 |
+
|
| 258 |
+
# TMP relabel ANSWER_TEMPLATE_PATIENT to ANSWER_TEMPLATE_ADQ
|
| 259 |
+
ANSWER_TEMPLATE_ADQ = """--- Relevant Personal Memories ---
|
| 260 |
{personal_context}
|
| 261 |
|
| 262 |
---
|
|
|
|
| 351 |
"""
|
| 352 |
|
| 353 |
|
| 354 |
+
# TMP relabel ANSWER_TEMPLATE_ADQ to ANSWER_TEMPLATE_ADQ_caregiver
|
| 355 |
# In prompts.py, replace the old ANSWER_TEMPLATE_ADQ with this revised version:
|
| 356 |
+
ANSWER_TEMPLATE_ADQ_caregiver = """--- General Guidance from Knowledge Base ---
|
| 357 |
{general_context}
|
| 358 |
|
| 359 |
--- Relevant Personal Memories ---
|