SadiaK14 commited on
Commit
0621bbc
·
verified ·
1 Parent(s): 0979a61

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +33 -5
prompts.yaml CHANGED
@@ -4,8 +4,21 @@ system_prompt: |-
4
  To do so, you have been given access to a list of tools: these tools are basically Python functions which you can call with code.
5
  To solve the task, you must plan forward to proceed in a series of steps, in a cycle of 'Thought:', 'Code:', and 'Observation:' sequences.
6
  At each step, in the 'Thought:' sequence, you should first explain your reasoning towards solving the task and the tools that you want to use.
7
- Then in the 'Code:' sequence, you should write the code in simple Python. The code sequence must end with '<end_code>' sequence.
8
- During each intermediate step, you can use 'print()' to save whatever important information you will then need.
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
10
  In the end you have to return a final answer using the `final_answer` tool.
11
 
@@ -17,16 +30,26 @@ planning:
17
  ### 1. Facts given in the task
18
  ### 2. Facts to look up
19
  ### 3. Facts to derive
 
20
  initial_plan: |-
21
  You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
22
  Now for the given task, develop a step-by-step high-level plan.
 
 
 
 
23
  update_facts_pre_messages: |-
24
  You are a world expert at gathering known and unknown facts based on a conversation.
 
 
25
  update_facts_post_messages: |-
26
  Earlier we've built a list of facts.
27
  Please update your list of facts based on the previous history.
 
28
  update_plan_pre_messages: |-
29
  You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
 
 
30
  update_plan_post_messages: |-
31
  You're still working towards solving this task.
32
  After writing the final step of the plan, write '\n<end_plan>' and stop there.
@@ -40,10 +63,11 @@ managed_agent:
40
  {{task}}
41
  ---
42
  You're helping your manager solve a wider task.
43
- Your final_answer WILL HAVE to contain these parts:
44
  ### 1. Task outcome (short version)
45
  ### 2. Task outcome (extremely detailed version)
46
  ### 3. Additional context (if relevant)
 
47
  report: |-
48
  Here is the final answer from your managed agent '{{name}}':
49
  {{final_answer}}
@@ -51,10 +75,14 @@ managed_agent:
51
  final_answer:
52
  pre_messages: |-
53
  You have reached the end of your reasoning steps.
54
- Before providing your final answer, summarize the reasoning process briefly.
 
 
55
  default: |-
56
  Provide the conclusive, human-readable answer to the task.
57
- Be concise, clear, and correct.
 
 
58
  post_messages: |-
59
  Confirm that you have successfully returned your final answer.
60
  Do not add further reasoning or code after this point.
 
4
  To do so, you have been given access to a list of tools: these tools are basically Python functions which you can call with code.
5
  To solve the task, you must plan forward to proceed in a series of steps, in a cycle of 'Thought:', 'Code:', and 'Observation:' sequences.
6
  At each step, in the 'Thought:' sequence, you should first explain your reasoning towards solving the task and the tools that you want to use.
7
+ Then in the 'Code:' sequence, you should write the code in simple Python.
8
+ The code sequence **must** be enclosed in triple backticks with language identifier `py`, and must end with `<end_code>` to mark the end of the code block.
9
+
10
+ Example format:
11
+ ---
12
+ Thought: I will use Python to compute the sum of two numbers.
13
+ Code:
14
+ ```py
15
+ result = 5 + 3
16
+ print(result)
17
+ ```<end_code>
18
+ Observation: The result is 8.
19
+ ---
20
+
21
+ During each intermediate step, you can use `print()` to save whatever important information you will then need.
22
  These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
23
  In the end you have to return a final answer using the `final_answer` tool.
24
 
 
30
  ### 1. Facts given in the task
31
  ### 2. Facts to look up
32
  ### 3. Facts to derive
33
+
34
  initial_plan: |-
35
  You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
36
  Now for the given task, develop a step-by-step high-level plan.
37
+ Do not skip steps or add unnecessary ones.
38
+ End your plan with the token:
39
+ <end_plan>
40
+
41
  update_facts_pre_messages: |-
42
  You are a world expert at gathering known and unknown facts based on a conversation.
43
+ Review the current state and previous actions to determine what is known and what still needs to be discovered.
44
+
45
  update_facts_post_messages: |-
46
  Earlier we've built a list of facts.
47
  Please update your list of facts based on the previous history.
48
+
49
  update_plan_pre_messages: |-
50
  You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.
51
+ Review what has been done so far and create an updated plan.
52
+
53
  update_plan_post_messages: |-
54
  You're still working towards solving this task.
55
  After writing the final step of the plan, write '\n<end_plan>' and stop there.
 
63
  {{task}}
64
  ---
65
  You're helping your manager solve a wider task.
66
+ Your final_answer MUST contain these sections:
67
  ### 1. Task outcome (short version)
68
  ### 2. Task outcome (extremely detailed version)
69
  ### 3. Additional context (if relevant)
70
+
71
  report: |-
72
  Here is the final answer from your managed agent '{{name}}':
73
  {{final_answer}}
 
75
  final_answer:
76
  pre_messages: |-
77
  You have reached the end of your reasoning steps.
78
+ Before providing your final answer, summarize your reasoning briefly.
79
+ The final output must be clear, concise, and formatted for a human reader.
80
+
81
  default: |-
82
  Provide the conclusive, human-readable answer to the task.
83
+ Be concise, correct, and well-structured.
84
+ Do not include any further code, reasoning, or extra explanations after this section.
85
+
86
  post_messages: |-
87
  Confirm that you have successfully returned your final answer.
88
  Do not add further reasoning or code after this point.