Spaces:
Sleeping
Sleeping
Update core_agent.py
Browse files- core_agent.py +2 -2
core_agent.py
CHANGED
|
@@ -444,8 +444,8 @@ This question appears to be in reversed text. Here's the reversed version:
|
|
| 444 |
Now answer the question above. Remember to format your answer exactly as requested.
|
| 445 |
"""
|
| 446 |
if "basil" in question:
|
| 447 |
-
context=f"""{context} This question is related to vegetables. For checking the vegetables you have to use the custom check_vegetables_from_list tool
|
| 448 |
-
the extracted list of vegetables and
|
| 449 |
|
| 450 |
# Add a prompt to ensure precise answers
|
| 451 |
full_prompt = f"""{context}
|
|
|
|
| 444 |
Now answer the question above. Remember to format your answer exactly as requested.
|
| 445 |
"""
|
| 446 |
if "basil" in question:
|
| 447 |
+
context=f"""{context} This question is related to vegetables. For checking the vegetables you have to use the custom check_vegetables_from_list tool and
|
| 448 |
+
get the extracted list of vegetables and that extracted list of vegetables is the final answer so do not process after getting the extracted list."""
|
| 449 |
|
| 450 |
# Add a prompt to ensure precise answers
|
| 451 |
full_prompt = f"""{context}
|