STARX33 commited on
Commit
b866d7d
·
verified ·
1 Parent(s): 5ce0cd2

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +5 -101
prompts.yaml CHANGED
@@ -155,8 +155,8 @@ system_prompt: |-
155
 
156
  {%- if managed_agents and managed_agents.values() | list %}
157
  You can also give tasks to team members.
158
- Calling a team member works the same as calling a tool: simply, the only argument you can give in the call is 'task', a long string explaining your task.
159
- Given that this team member is a real human, you should be very verbose in your task.
160
  Here is a list of the team members that you can call:
161
  {%- for agent in managed_agents.values() %}
162
  - {{ agent.name }}: {{ agent.description }}
@@ -208,102 +208,6 @@ planning:
208
  Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.
209
  After writing the final step of the plan, write the '\n<end_plan>' tag and stop there.
210
 
211
- Here is your task:
212
-
213
- Task:
214
- ```
215
- {{ task }}
216
- ```
217
- You can leverage these tools:
218
- {%- for tool in tools.values() %}
219
- - {{ tool.name }}: {{ tool.description }}
220
- Takes inputs: {{ tool.inputs }}
221
- Returns an output of type: {{ tool.output_type }}
222
- {%- endfor %}
223
-
224
- {%- if managed_agents and managed_agents.values() | list %}
225
- You can also give tasks to team members.
226
- Calling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'request', a long string explaining your request.
227
- Given that this team member is a real human, you should be very verbose in your request.
228
- Here is a list of the team members that you can call:
229
- {%- for agent in managed_agents.values() %}
230
- - {{ agent.name }}: {{ agent.description }}
231
- {%- endfor %}
232
- {%- endif %}
233
-
234
- List of facts that you know:
235
- ```
236
- {{ answer_facts }}
237
- ```
238
-
239
- Now begin! Write your plan below.
240
-
241
- update_facts_pre_messages: |-
242
- You are a world expert at gathering known and unknown facts based on a conversation.
243
- Below you will find a task, and a history of attempts made to solve the task. You will have to produce a list of these:
244
- ### 1. Facts given in the task
245
- ### 2. Facts that we have learned
246
- ### 3. Facts still to look up
247
- ### 4. Facts still to derive
248
- Find the task and history below:
249
-
250
- update_facts_post_messages: |-
251
- Earlier we've built a list of facts.
252
- But since in your previous steps you may have learned useful new facts or invalidated some false ones.
253
- Please update your list of facts based on the previous history, and provide these headings:
254
- ### 1. Facts given in the task
255
- ### 2. Facts that we have learned
256
- ### 3. Facts still to look up
257
- ### 4. Facts still to derive
258
-
259
- Now write your new list of facts below.
260
-
261
- update_plan_pre_messages: |-
262
- You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
263
-
264
- You have been given a task:
265
- ```
266
- {{ task }}
267
- ```
268
-
269
- Find below the record of what has been tried so far to solve it. Then you will be asked to make an updated plan to solve the task.
270
- If the previous tries so far have met some success, you can make an updated plan based on these actions.
271
- If you are stalled, you can make a completely new plan starting from scratch.
272
-
273
- update_plan_post_messages: |-
274
- You're still working towards solving this task:
275
- ```
276
- {{ task }}
277
- ```
278
-
279
- You can leverage these tools:
280
- {%- for tool in tools.values() %}
281
- - {{ tool.name }}: {{ tool.description }}
282
- Takes inputs: {{ tool.inputs }}
283
- Returns an output of type: {{ tool.output_type }}
284
- {%- endfor %}
285
-
286
- {%- if managed_agents and managed_agents.values() | list %}
287
- You can also give tasks to team members.
288
- Calling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'task'.
289
- Given that this team member is a real human, you should be very verbose in your task, it should be a long string providing informations as detailed as necessary.
290
- Here is a list of the team members that you can call:
291
- {%- for agent in managed_agents.values() %}
292
- - {{ agent.name }}: {{ agent.description }}
293
- {%- endfor %}
294
- {%- endif %}
295
-
296
- Here is the up to date list of facts that you know:
297
- ```
298
- {{ facts_update }}
299
- ```
300
-
301
- Now for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.
302
- This plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.
303
- Beware that you have { remaining_steps } steps remaining.
304
- Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.
305
- After writing the final step of the plan, write the '\n<end_plan>' tag and stop there.
306
-
307
  managed_agent:
308
  task: |-
309
  You're a helpful agent named '{{ name }}'.
@@ -322,9 +226,9 @@ managed_agent:
322
  Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.
323
  And even if your task resolution is not successful, please return as much context as possible, so that your manager can act upon this feedback.
324
 
325
- report: |-
326
- Here is the final answer from your managed agent '{{ name }}':
327
- {{ final_answer }}
328
 
329
  # -------------------------------------------------------
330
  # This is your *hard* RAG lookup map – ensure the key
 
155
 
156
  {%- if managed_agents and managed_agents.values() | list %}
157
  You can also give tasks to team members.
158
+ Calling a team member works the same as calling a tool: simply, the only argument you can give in the call is 'task', a long string explaining your request.
159
+ Given that this team member is a real human, you should be very verbose in your request.
160
  Here is a list of the team members that you can call:
161
  {%- for agent in managed_agents.values() %}
162
  - {{ agent.name }}: {{ agent.description }}
 
208
  Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.
209
  After writing the final step of the plan, write the '\n<end_plan>' tag and stop there.
210
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  managed_agent:
212
  task: |-
213
  You're a helpful agent named '{{ name }}'.
 
226
  Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.
227
  And even if your task resolution is not successful, please return as much context as possible, so that your manager can act upon this feedback.
228
 
229
+ report: |-
230
+ Here is the final answer from your managed agent '{{ name }}':
231
+ {{ final_answer }}
232
 
233
  # -------------------------------------------------------
234
  # This is your *hard* RAG lookup map – ensure the key