Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- 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 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
|
|
|
| 313 |
managed_agent:
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
|
|
|
| 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 |
```
|