Spaces:
Sleeping
Sleeping
Update nivra_agent.py
Browse files- nivra_agent.py +7 -3
nivra_agent.py
CHANGED
|
@@ -180,14 +180,18 @@ Image analysis failed due to a technical issue.
|
|
| 180 |
"""
|
| 181 |
|
| 182 |
final_prompt = f"""
|
| 183 |
-
|
|
|
|
|
|
|
| 184 |
{tool_output}
|
| 185 |
|
| 186 |
-
|
| 187 |
{hint_text}
|
| 188 |
|
| 189 |
-
|
|
|
|
| 190 |
"""
|
| 191 |
|
|
|
|
| 192 |
return call_groq(final_prompt)
|
| 193 |
|
|
|
|
| 180 |
"""
|
| 181 |
|
| 182 |
final_prompt = f"""
|
| 183 |
+
You are a medical AI assistant.
|
| 184 |
+
|
| 185 |
+
Vision tool result:
|
| 186 |
{tool_output}
|
| 187 |
|
| 188 |
+
User context:
|
| 189 |
{hint_text}
|
| 190 |
|
| 191 |
+
Respond STRICTLY in the medical format.
|
| 192 |
+
Keep description under 3 sentences.
|
| 193 |
"""
|
| 194 |
|
| 195 |
+
|
| 196 |
return call_groq(final_prompt)
|
| 197 |
|