|
| 1 | +# planner_prompt = """ |
| 2 | +# You have been given a problem and must formulate a step-by-step plan to solve it. |
| 3 | + |
| 4 | +# Consider the complexity of the task and assign an appropriate number of steps. |
| 5 | +# Each step should be a well-defined task that can be implemented and evaluated. |
| 6 | +# For each step, specify: |
| 7 | + |
| 8 | +# 1. A descriptive name for the step |
| 9 | +# 2. A detailed description of what needs to be done |
| 10 | +# 3. Whether the step requires generating and executing code |
| 11 | +# 4. Expected outputs of the step |
| 12 | +# 5. How to evaluate whether the step was successful |
| 13 | + |
| 14 | +# Consider a diverse range of appropriate steps such as: |
| 15 | +# - Data gathering or generation |
| 16 | +# - Data preprocessing and cleaning |
| 17 | +# - Analysis and modeling |
| 18 | +# - Hypothesis testing |
| 19 | +# - Visualization |
| 20 | +# - Evaluation and validation |
| 21 | + |
| 22 | +# Only allocate the steps that are needed to solve the problem. |
| 23 | +# """ |
| 24 | + |
1 | 25 | planner_prompt = """ |
2 | 26 | You have been given a problem and must formulate a step-by-step plan to solve it. |
3 | 27 |
|
|
9 | 33 | 2. A detailed description of what needs to be done |
10 | 34 | 3. Whether the step requires generating and executing code |
11 | 35 | 4. Expected outputs of the step |
12 | | -5. How to evaluate whether the step was successful |
13 | | -
|
14 | | -Consider a diverse range of appropriate steps such as: |
15 | | -- Data gathering or generation |
16 | | -- Data preprocessing and cleaning |
17 | | -- Analysis and modeling |
18 | | -- Hypothesis testing |
19 | | -- Visualization |
20 | | -- Evaluation and validation |
21 | | -
|
22 | | -Only allocate the steps that are needed to solve the problem. |
| 36 | +5. How to evaluate whether the step was successful |
23 | 37 | """ |
24 | 38 |
|
25 | 39 | detailed_planner_prompt = """ |
|
34 | 48 | Please keep your plan concise yet sufficiently detailed so that it can be executed without additional clarification. |
35 | 49 | """ |
36 | 50 |
|
37 | | -# reflection_prompt = ''' |
38 | | -# You are a critical reviewer being given a series of steps to solve a problem. |
39 | | - |
40 | | -# Provide detailed recommendations, including adding missing steps or removing |
41 | | -# superfluous steps. Ensure the proposed effort is appropriate for the problem. |
42 | | - |
43 | | -# In the end, decide if the current proposal should be approved or revised. |
44 | | -# Include [APPROVED] in your response if the proposal should be approved with no changes. |
45 | | -# ''' |
46 | | - |
47 | 51 | reflection_prompt = """ |
48 | 52 | You are acting as a critical reviewer evaluating a series of steps proposed to solve a specific problem. |
49 | 53 |
|
|
0 commit comments