Spaces:
Sleeping
Sleeping
Update agent/sys_prompt.py
Browse files- agent/sys_prompt.py +5 -5
agent/sys_prompt.py
CHANGED
|
@@ -134,7 +134,7 @@ normal_or_unclear:
|
|
| 134 |
📋 MEDICAL OUTPUT FORMAT (Symptoms ONLY)
|
| 135 |
────────────────────────────
|
| 136 |
[TOOLS USED] analyze_symptom_text, rag_tool [/TOOLS USED]
|
| 137 |
-
[SYMPTOMS] ... [/SYMPTOMS]
|
| 138 |
[PRIMARY DIAGNOSIS] ... [/PRIMARY DIAGNOSIS]
|
| 139 |
[DIAGNOSIS DESCRIPTION]
|
| 140 |
...
|
|
@@ -194,7 +194,7 @@ Input: "17-year-old from Jaipur feels weak and dizzy after cricket in sunlight"
|
|
| 194 |
---
|
| 195 |
[TOOLS USED] analyze_symptom_text [/TOOLS USED]
|
| 196 |
[SYMPTOMS] Weakness, dizziness after cricket in sunlight [/SYMPTOMS]
|
| 197 |
-
[PRIMARY DIAGNOSIS]
|
| 198 |
[DIAGNOSIS DESCRIPTION]
|
| 199 |
Likely heat-related fatigue or dehydration from exertion in sun; monitor hydration and rest in cool area.
|
| 200 |
[/DIAGNOSIS DESCRIPTION]
|
|
@@ -208,7 +208,7 @@ Input: "loose stools and cramps after street food in Mumbai"
|
|
| 208 |
---
|
| 209 |
[TOOLS USED] analyze_symptom_text [/TOOLS USED]
|
| 210 |
[SYMPTOMS] Loose stools, abdominal cramps after street food [/SYMPTOMS]
|
| 211 |
-
[PRIMARY DIAGNOSIS]
|
| 212 |
[DIAGNOSIS DESCRIPTION]
|
| 213 |
Likely acute gastroenteritis from contaminated food or water; usually self-limited but monitor hydration.
|
| 214 |
[/DIAGNOSIS DESCRIPTION]
|
|
@@ -221,7 +221,7 @@ EXAMPLE 6 – VISION NORMAL SAFE NEGATIVE
|
|
| 221 |
Input: "blurry tongue image"
|
| 222 |
---
|
| 223 |
[TOOLS USED] analyze_symptom_image [/TOOLS USED]
|
| 224 |
-
[PRIMARY DIAGNOSIS]
|
| 225 |
[DIAGNOSIS DESCRIPTION]
|
| 226 |
Image is blurry/unclear; no obvious lesion seen. Retake in good light if concern persists.
|
| 227 |
[/DIAGNOSIS DESCRIPTION]
|
|
@@ -234,7 +234,7 @@ EXAMPLE 7 – VISION SUSPICIOUS LESION ESCALATION
|
|
| 234 |
Input: "dark irregular mole image"
|
| 235 |
---
|
| 236 |
[TOOLS USED] analyze_symptom_image [/TOOLS USED]
|
| 237 |
-
[PRIMARY DIAGNOSIS]
|
| 238 |
[DIAGNOSIS DESCRIPTION]
|
| 239 |
Irregular pigmented lesion warrants urgent dermatologist review to exclude melanoma or dysplastic nevus.
|
| 240 |
[/DIAGNOSIS DESCRIPTION]
|
|
|
|
| 134 |
📋 MEDICAL OUTPUT FORMAT (Symptoms ONLY)
|
| 135 |
────────────────────────────
|
| 136 |
[TOOLS USED] analyze_symptom_text, rag_tool [/TOOLS USED]
|
| 137 |
+
analyze_symptom_text_output[SYMPTOMS] ... [/SYMPTOMS]
|
| 138 |
[PRIMARY DIAGNOSIS] ... [/PRIMARY DIAGNOSIS]
|
| 139 |
[DIAGNOSIS DESCRIPTION]
|
| 140 |
...
|
|
|
|
| 194 |
---
|
| 195 |
[TOOLS USED] analyze_symptom_text [/TOOLS USED]
|
| 196 |
[SYMPTOMS] Weakness, dizziness after cricket in sunlight [/SYMPTOMS]
|
| 197 |
+
mild_self_limiting[PRIMARY DIAGNOSIS] Heat Exhaustion / Dehydration likely) [/PRIMARY DIAGNOSIS]
|
| 198 |
[DIAGNOSIS DESCRIPTION]
|
| 199 |
Likely heat-related fatigue or dehydration from exertion in sun; monitor hydration and rest in cool area.
|
| 200 |
[/DIAGNOSIS DESCRIPTION]
|
|
|
|
| 208 |
---
|
| 209 |
[TOOLS USED] analyze_symptom_text [/TOOLS USED]
|
| 210 |
[SYMPTOMS] Loose stools, abdominal cramps after street food [/SYMPTOMS]
|
| 211 |
+
cluster2_gi[PRIMARY DIAGNOSIS] Food poisoning / Gastrointestinal infection [/PRIMARY DIAGNOSIS]
|
| 212 |
[DIAGNOSIS DESCRIPTION]
|
| 213 |
Likely acute gastroenteritis from contaminated food or water; usually self-limited but monitor hydration.
|
| 214 |
[/DIAGNOSIS DESCRIPTION]
|
|
|
|
| 221 |
Input: "blurry tongue image"
|
| 222 |
---
|
| 223 |
[TOOLS USED] analyze_symptom_image [/TOOLS USED]
|
| 224 |
+
normal_or_unclear[PRIMARY DIAGNOSIS] No clear pathology visible [/PRIMARY DIAGNOSIS]
|
| 225 |
[DIAGNOSIS DESCRIPTION]
|
| 226 |
Image is blurry/unclear; no obvious lesion seen. Retake in good light if concern persists.
|
| 227 |
[/DIAGNOSIS DESCRIPTION]
|
|
|
|
| 234 |
Input: "dark irregular mole image"
|
| 235 |
---
|
| 236 |
[TOOLS USED] analyze_symptom_image [/TOOLS USED]
|
| 237 |
+
suspicious_pigment_or_growth_lesion[PRIMARY DIAGNOSIS] Rule out Melanoma [/PRIMARY DIAGNOSIS]
|
| 238 |
[DIAGNOSIS DESCRIPTION]
|
| 239 |
Irregular pigmented lesion warrants urgent dermatologist review to exclude melanoma or dysplastic nevus.
|
| 240 |
[/DIAGNOSIS DESCRIPTION]
|