dannyskull commited on
Commit
9c5f85b
·
verified ·
1 Parent(s): dcbb6c0

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +155 -153
prompts.yaml CHANGED
@@ -178,158 +178,160 @@ system_prompt:
178
 
179
  Now Begin! If you solve the task correctly, you will receive a reward of $1,000,000.
180
  planning:
181
- initial_facts:
182
- default: |-
183
- Below I will present you a task.
184
-
185
- You will now build a comprehensive preparatory survey of which facts we have at our disposal and which ones we still need.
186
- To do so, you will have to read the task and identify things that must be discovered in order to successfully complete it.
187
- Don't make any assumptions. For each item, provide a thorough reasoning. Here is how you will structure this survey:
188
-
189
- ---
190
- ### 1. Facts given in the task
191
- List here the specific facts given in the task that could help you (there might be nothing here).
192
-
193
- ### 2. Facts to look up
194
- List here any facts that we may need to look up.
195
- Also list where to find each of these, for instance a website, a file... - maybe the task contains some sources that you should re-use here.
196
-
197
- ### 3. Facts to derive
198
- List here anything that we want to derive from the above by logical reasoning, for instance computation or simulation.
199
-
200
- Keep in mind that "facts" will typically be specific names, dates, values, etc. Your answer should use the below headings:
201
- ### 1. Facts given in the task
202
- ### 2. Facts to look up
203
- ### 3. Facts to derive
204
- Do not add anything else.
205
- initial_plan:
206
- default: |-
207
- You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
208
-
209
- Now for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.
210
- This plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.
211
- Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.
212
- After writing the final step of the plan, write the '\n<end_plan>' tag and stop there.
213
-
214
- Here is your task:
215
-
216
- Task:
217
- ```
218
- {{task}}
219
- ```
220
- You can leverage these tools:
221
- {%- for tool in tools.values() %}
222
- - {{ tool.name }}: {{ tool.description }}
223
- Takes inputs: {{tool.inputs}}
224
- Returns an output of type: {{tool.output_type}}
225
- {%- endfor %}
226
-
227
- {%- if managed_agents and managed_agents.values() | list %}
228
- You can also give tasks to team members.
229
- 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.
230
- Given that this team member is a real human, you should be very verbose in your request.
231
- Here is a list of the team members that you can call:
232
- {%- for agent in managed_agents.values() %}
233
- - {{ agent.name }}: {{ agent.description }}
234
- {%- endfor %}
235
- {%- else %}
236
- {%- endif %}
237
-
238
- List of facts that you know:
239
- ```
240
- {{answer_facts}}
241
- ```
242
-
243
- Now begin! Write your plan below.
244
- update_facts_pre_messages:
245
- default: |-
246
- You are a world expert at gathering known and unknown facts based on a conversation.
247
- 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:
248
- ### 1. Facts given in the task
249
- ### 2. Facts that we have learned
250
- ### 3. Facts still to look up
251
- ### 4. Facts still to derive
252
- Find the task and history below:
253
- update_facts_post_messages:
254
- default: |-
255
- Earlier we've built a list of facts.
256
- But since in your previous steps you may have learned useful new facts or invalidated some false ones.
257
- Please update your list of facts based on the previous history, and provide these headings:
258
- ### 1. Facts given in the task
259
- ### 2. Facts that we have learned
260
- ### 3. Facts still to look up
261
- ### 4. Facts still to derive
262
-
263
- Now write your new list of facts below.
264
- update_plan_pre_messages:
265
- default: |-
266
- You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
267
-
268
- You have been given a task:
269
- ```
270
- {{task}}
271
- ```
272
-
273
- 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.
274
- If the previous tries so far have met some success, you can make an updated plan based on these actions.
275
- If you are stalled, you can make a completely new plan starting from scratch.
276
- update_plan_post_messages:
277
- default: |-
278
- You're still working towards solving this task:
279
- ```
280
- {{task}}
281
- ```
282
-
283
- You can leverage these tools:
284
- {%- for tool in tools.values() %}
285
- - {{ tool.name }}: {{ tool.description }}
286
- Takes inputs: {{tool.inputs}}
287
- Returns an output of type: {{tool.output_type}}
288
- {%- endfor %}
289
-
290
- {%- if managed_agents and managed_agents.values() | list %}
291
- You can also give tasks to team members.
292
- Calling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'task'.
293
- 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.
294
- Here is a list of the team members that you can call:
295
- {%- for agent in managed_agents.values() %}
296
- - {{ agent.name }}: {{ agent.description }}
297
- {%- endfor %}
298
- {%- else %}
299
- {%- endif %}
300
-
301
- Here is the up to date list of facts that you know:
302
- ```
303
- {{facts_update}}
304
- ```
305
-
306
- Now for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.
307
- This plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.
308
- Beware that you have {remaining_steps} steps remaining.
309
- Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.
310
- After writing the final step of the plan, write the '\n<end_plan>' tag and stop there.
311
-
312
- Now write your new plan below.
 
313
  managed_agent:
314
- task:
315
- default: |-
316
- You're a helpful agent named '{{name}}'.
317
- You have been submitted this task by your manager.
318
- ---
319
- Task:
320
- {{task}}
321
- ---
322
- You're helping your manager solve a wider task: so make sure to not provide a one-line answer, but give as much information as possible to give them a clear understanding of the answer.
323
-
324
- Your final_answer WILL HAVE to contain these parts:
325
- ### 1. Task outcome (short version):
326
- ### 2. Task outcome (extremely detailed version):
327
- ### 3. Additional context (if relevant):
328
-
329
- Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.
330
- 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.
331
- report:
332
- default: |-
333
- Here is the final answer from your managed agent '{{name}}':
334
- {{final_answer}}
 
335
  ```
 
178
 
179
  Now Begin! If you solve the task correctly, you will receive a reward of $1,000,000.
180
  planning:
181
+ default: # CHANGE: Added 'default' key here
182
+ initial_facts:
183
+ default: |-
184
+ Below I will present you a task.
185
+
186
+ You will now build a comprehensive preparatory survey of which facts we have at our disposal and which ones we still need.
187
+ To do so, you will have to read the task and identify things that must be discovered in order to successfully complete it.
188
+ Don't make any assumptions. For each item, provide a thorough reasoning. Here is how you will structure this survey:
189
+
190
+ ---
191
+ ### 1. Facts given in the task
192
+ List here the specific facts given in the task that could help you (there might be nothing here).
193
+
194
+ ### 2. Facts to look up
195
+ List here any facts that we may need to look up.
196
+ Also list where to find each of these, for instance a website, a file... - maybe the task contains some sources that you should re-use here.
197
+
198
+ ### 3. Facts to derive
199
+ List here anything that we want to derive from the above by logical reasoning, for instance computation or simulation.
200
+
201
+ Keep in mind that "facts" will typically be specific names, dates, values, etc. Your answer should use the below headings:
202
+ ### 1. Facts given in the task
203
+ ### 2. Facts to look up
204
+ ### 3. Facts to derive
205
+ Do not add anything else.
206
+ initial_plan:
207
+ default: |-
208
+ You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
209
+
210
+ Now for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.
211
+ This plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.
212
+ Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.
213
+ After writing the final step of the plan, write the '\n<end_plan>' tag and stop there.
214
+
215
+ Here is your task:
216
+
217
+ Task:
218
+ ```
219
+ {{task}}
220
+ ```
221
+ You can leverage these tools:
222
+ {%- for tool in tools.values() %}
223
+ - {{ tool.name }}: {{ tool.description }}
224
+ Takes inputs: {{tool.inputs}}
225
+ Returns an output of type: {{tool.output_type}}
226
+ {%- endfor %}
227
+
228
+ {%- if managed_agents and managed_agents.values() | list %}
229
+ You can also give tasks to team members.
230
+ 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.
231
+ Given that this team member is a real human, you should be very verbose in your request.
232
+ Here is a list of the team members that you can call:
233
+ {%- for agent in managed_agents.values() %}
234
+ - {{ agent.name }}: {{ agent.description }}
235
+ {%- endfor %}
236
+ {%- else %}
237
+ {%- endif %}
238
+
239
+ List of facts that you know:
240
+ ```
241
+ {{answer_facts}}
242
+ ```
243
+
244
+ Now begin! Write your plan below.
245
+ update_facts_pre_messages:
246
+ default: |-
247
+ You are a world expert at gathering known and unknown facts based on a conversation.
248
+ 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:
249
+ ### 1. Facts given in the task
250
+ ### 2. Facts that we have learned
251
+ ### 3. Facts still to look up
252
+ ### 4. Facts still to derive
253
+ Find the task and history below:
254
+ update_facts_post_messages:
255
+ default: |-
256
+ Earlier we've built a list of facts.
257
+ But since in your previous steps you may have learned useful new facts or invalidated some false ones.
258
+ Please update your list of facts based on the previous history, and provide these headings:
259
+ ### 1. Facts given in the task
260
+ ### 2. Facts that we have learned
261
+ ### 3. Facts still to look up
262
+ ### 4. Facts still to derive
263
+
264
+ Now write your new list of facts below.
265
+ update_plan_pre_messages:
266
+ default: |-
267
+ You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
268
+
269
+ You have been given a task:
270
+ ```
271
+ {{task}}
272
+ ```
273
+
274
+ 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.
275
+ If the previous tries so far have met some success, you can make an updated plan based on these actions.
276
+ If you are stalled, you can make a completely new plan starting from scratch.
277
+ update_plan_post_messages:
278
+ default: |-
279
+ You're still working towards solving this task:
280
+ ```
281
+ {{task}}
282
+ ```
283
+
284
+ You can leverage these tools:
285
+ {%- for tool in tools.values() %}
286
+ - {{ tool.name }}: {{ tool.description }}
287
+ Takes inputs: {{tool.inputs}}
288
+ Returns an output of type: {{tool.output_type}}
289
+ {%- endfor %}
290
+
291
+ {%- if managed_agents and managed_agents.values() | list %}
292
+ You can also give tasks to team members.
293
+ Calling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'task'.
294
+ 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.
295
+ Here is a list of the team members that you can call:
296
+ {%- for agent in managed_agents.values() %}
297
+ - {{ agent.name }}: {{ agent.description }}
298
+ {%- endfor %}
299
+ {%- else %}
300
+ {%- endif %}
301
+
302
+ Here is the up to date list of facts that you know:
303
+ ```
304
+ {{facts_update}}
305
+ ```
306
+
307
+ Now for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.
308
+ This plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.
309
+ Beware that you have {remaining_steps} steps remaining.
310
+ Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.
311
+ After writing the final step of the plan, write the '\n<end_plan>' tag and stop there.
312
+
313
+ Now write your new plan below.
314
  managed_agent:
315
+ default: # CHANGE: Added 'default' key here
316
+ task:
317
+ default: |-
318
+ You're a helpful agent named '{{name}}'.
319
+ You have been submitted this task by your manager.
320
+ ---
321
+ Task:
322
+ {{task}}
323
+ ---
324
+ You're helping your manager solve a wider task: so make sure to not provide a one-line answer, but give as much information as possible to give them a clear understanding of the answer.
325
+
326
+ Your final_answer WILL HAVE to contain these parts:
327
+ ### 1. Task outcome (short version):
328
+ ### 2. Task outcome (extremely detailed version):
329
+ ### 3. Additional context (if relevant):
330
+
331
+ Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.
332
+ 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.
333
+ report:
334
+ default: |-
335
+ Here is the final answer from your managed agent '{{name}}':
336
+ {{final_answer}}
337
  ```