vallurimahanth commited on
Commit
8ffe4b5
·
verified ·
1 Parent(s): 931f2d4

Update core_agent.py

Browse files
Files changed (1) hide show
  1. 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. Sort
448
- the extracted list of vegetables and place each item in a comma separated list which is the final answer."""
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}