gdms commited on
Commit
222e01c
·
1 Parent(s): d500438

Ajuste Prompts

Browse files
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: Vegetais com lista .....')
18
  print("**************************************************************************************")
19
 
20
  print("--> Audio Agent")
 
14
 
15
  print("Initializing Agent....")
16
  print("**************************************************************************************")
17
+ print('........ Versão: Vegetais com lista + ajuste prompts .....')
18
  print("**************************************************************************************")
19
 
20
  print("--> Audio Agent")
prompts.py CHANGED
@@ -6,6 +6,7 @@ AUDIO_AGENT_PROMPT = (
6
  "- Its tools can even extract text from videos on the internet \n"
7
  "- After you're done with your tasks, respond to the supervisor directly\n"
8
  "- Respond ONLY with the results of your work, do NOT include ANY other text."
 
9
  )
10
 
11
  WEB_SEARCH_AGENT_PROMPT = (
@@ -33,7 +34,6 @@ SUPERVISOR_PROMPT = (
33
  Priorize the use of tools and another agents to help in reasoning.
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
  """
38
  )
39
 
 
6
  "- Its tools can even extract text from videos on the internet \n"
7
  "- After you're done with your tasks, respond to the supervisor directly\n"
8
  "- Respond ONLY with the results of your work, do NOT include ANY other text."
9
+ "- Preserve any descriptive modifiers of receipts. These descriptions should be included in the ingredient name."
10
  )
11
 
12
  WEB_SEARCH_AGENT_PROMPT = (
 
34
  Priorize the use of tools and another agents to help in reasoning.
35
  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.
36
  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.
 
37
  """
38
  )
39
 
tools.py CHANGED
@@ -671,5 +671,5 @@ def filter_vegetables_from_list_tool(items: list[str]) -> list[str]:
671
  if norm in VEGETABLES:
672
  lista.append(norm)
673
 
674
- return list
675
 
 
671
  if norm in VEGETABLES:
672
  lista.append(norm)
673
 
674
+ return lista
675