Update PlanWriterCtrlFlow.yaml
Browse files- PlanWriterCtrlFlow.yaml +6 -3
PlanWriterCtrlFlow.yaml
CHANGED
|
@@ -11,6 +11,7 @@ input_interface_non_initialized: # initial input keys
|
|
| 11 |
- "goal"
|
| 12 |
|
| 13 |
input_interface_initialized:
|
|
|
|
| 14 |
- "plan"
|
| 15 |
- "feedback"
|
| 16 |
|
|
@@ -49,6 +50,9 @@ system_message_prompt_template:
|
|
| 49 |
|
| 50 |
Your **ONLY** task is to take the user's goal for you, to decide whether to call the planner to write or re-write the plan, or to finish the current task.
|
| 51 |
|
|
|
|
|
|
|
|
|
|
| 52 |
When you need to call the plan writer, call the `write_plan` command with the goal specified.
|
| 53 |
When the plan is written and the user is satisfied, call the `finish` command to terminate the current process with a summary of what was done in one sentence.
|
| 54 |
Whenever you are in doubt, or need to confirm something to the user, call `ask_user` with the question.
|
|
@@ -82,7 +86,7 @@ system_message_prompt_template:
|
|
| 82 |
|
| 83 |
Available Functions:
|
| 84 |
{{commands}}
|
| 85 |
-
input_variables: ["commands"]
|
| 86 |
template_format: jinja2
|
| 87 |
|
| 88 |
human_message_prompt_template:
|
|
@@ -107,5 +111,4 @@ init_human_message_prompt_template:
|
|
| 107 |
template_format: jinja2
|
| 108 |
|
| 109 |
previous_messages:
|
| 110 |
-
|
| 111 |
-
last_k: 1
|
|
|
|
| 11 |
- "goal"
|
| 12 |
|
| 13 |
input_interface_initialized:
|
| 14 |
+
- "goal"
|
| 15 |
- "plan"
|
| 16 |
- "feedback"
|
| 17 |
|
|
|
|
| 50 |
|
| 51 |
Your **ONLY** task is to take the user's goal for you, to decide whether to call the planner to write or re-write the plan, or to finish the current task.
|
| 52 |
|
| 53 |
+
Here is the goal you need to achieve:
|
| 54 |
+
{{goal}}
|
| 55 |
+
|
| 56 |
When you need to call the plan writer, call the `write_plan` command with the goal specified.
|
| 57 |
When the plan is written and the user is satisfied, call the `finish` command to terminate the current process with a summary of what was done in one sentence.
|
| 58 |
Whenever you are in doubt, or need to confirm something to the user, call `ask_user` with the question.
|
|
|
|
| 86 |
|
| 87 |
Available Functions:
|
| 88 |
{{commands}}
|
| 89 |
+
input_variables: ["commands", "goal"]
|
| 90 |
template_format: jinja2
|
| 91 |
|
| 92 |
human_message_prompt_template:
|
|
|
|
| 111 |
template_format: jinja2
|
| 112 |
|
| 113 |
previous_messages:
|
| 114 |
+
last_k: 3
|
|
|