gdms commited on
Commit
d0c3f78
·
1 Parent(s): 1f75af9
Files changed (3) hide show
  1. agent.py +1 -1
  2. prompts.py +1 -1
  3. tools.py +1 -1
agent.py CHANGED
@@ -14,7 +14,7 @@ class Agent:
14
 
15
  print("Initializing Agent....")
16
  print("**************************************************************************************")
17
- print('........ Versão: Filtro Vegetais .....')
18
  print("**************************************************************************************")
19
 
20
  print("--> Audio Agent")
 
14
 
15
  print("Initializing Agent....")
16
  print("**************************************************************************************")
17
+ print('........ Versão: Vegetais com lista .....')
18
  print("**************************************************************************************")
19
 
20
  print("--> Audio Agent")
prompts.py CHANGED
@@ -34,6 +34,6 @@ SUPERVISOR_PROMPT = (
34
  When a file or URL is entered at the prompt, use it in tools or other agents, both are prepared to handle files and URLs.
35
  When I inform a file in the format File:<file name> use the file name to invoke the tool, it will know how to treat it.
36
  Preserve any descriptive modifiers of receipts. These descriptions should be included in the ingredient name.
37
- When classification of food items is requested, and a tool like is_vegetable_tool is available, you must use it. Do not make assumptions, even if the item seems obvious.
38
  """
39
  )
 
34
  When a file or URL is entered at the prompt, use it in tools or other agents, both are prepared to handle files and URLs.
35
  When I inform a file in the format File:<file name> use the file name to invoke the tool, it will know how to treat it.
36
  Preserve any descriptive modifiers of receipts. These descriptions should be included in the ingredient name.
37
+ When classification of food items is requested, and a tool like is_vegetable_tool is available, you must use it. In this specif case don't make assumptions, even if the item seems obvious.
38
  """
39
  )
tools.py CHANGED
@@ -654,7 +654,7 @@ def normalize_item(text: str) -> str:
654
  singular.append(word)
655
  return " ".join(singular)
656
 
657
- def filter_vegetables_from_list_tool(items: list[str]) -> list[str]:
658
  """
659
  Return a set of vegetables from items
660
 
 
654
  singular.append(word)
655
  return " ".join(singular)
656
 
657
+ def filter_vegetables_from_list_tool(items: list[str]) -> list[str]:
658
  """
659
  Return a set of vegetables from items
660