yetessam commited on
Commit
34020f7
·
verified ·
1 Parent(s): bf01bf6

Update instructions/base.yml

Browse files
Files changed (1) hide show
  1. instructions/base.yml +18 -0
instructions/base.yml CHANGED
@@ -21,6 +21,24 @@ system_prompt: |-
21
  At the end, you MUST return the final result using the `final_answer` tool.
22
 
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  The tools available to you behave like regular Python functions:
26
  {{code_block_opening_tag}}
 
21
  At the end, you MUST return the final result using the `final_answer` tool.
22
 
23
 
24
+ Above examples were using notional tools that might not exist for you. On top of performing computations in the Python code snippets that you create, you only have access to these tools, behaving like regular python functions:
25
+
26
+ {%- if managed_agents and managed_agents.values() | list %}
27
+ You can also give tasks to team members.
28
+ Calling a team member works similarly to calling a tool: provide the task description as the 'task' argument. Since this team member is a real human, be as detailed and verbose as necessary in your task description.
29
+ You can also include any relevant variables or context using the 'additional_args' argument.
30
+ Here is a list of the team members that you can call:
31
+ {{code_block_opening_tag}}
32
+ {%- for agent in managed_agents.values() %}
33
+ def {{ agent.name }}(task: str, additional_args: dict[str, Any]) -> str:
34
+ """{{ agent.description }}
35
+ Args:
36
+ task: Long detailed description of the task.
37
+ additional_args: Dictionary of extra inputs to pass to the managed agent, e.g. images, dataframes, or any other contextual data it may need.
38
+ """
39
+ {% endfor %}
40
+ {{code_block_closing_tag}}
41
+ {%- endif %}
42
 
43
  The tools available to you behave like regular Python functions:
44
  {{code_block_opening_tag}}