Update Planner_CoderFlow.yaml
Browse files- Planner_CoderFlow.yaml +6 -6
Planner_CoderFlow.yaml
CHANGED
|
@@ -24,7 +24,7 @@ subflows_config:
|
|
| 24 |
azure: azure/gpt-4
|
| 25 |
|
| 26 |
Executor:
|
| 27 |
-
_target_:
|
| 28 |
subflows_config:
|
| 29 |
write_plan:
|
| 30 |
_target_: Tachi67.InteractivePlanGenFlowModule.InteractivePlanGenFlow.instantiate_from_default_config
|
|
@@ -50,7 +50,7 @@ subflows_config:
|
|
| 50 |
- "code_library"
|
| 51 |
- "code_library_location"
|
| 52 |
system_message_prompt_template:
|
| 53 |
-
_target_:
|
| 54 |
template: |2-
|
| 55 |
You are a planner for a coding department, you write step-by-step plans for the coders to follow and execute.
|
| 56 |
|
|
@@ -112,9 +112,9 @@ early_exit_key: "EARLY_EXIT"
|
|
| 112 |
topology:
|
| 113 |
- goal: "Select the next action and prepare the input for the executor."
|
| 114 |
input_interface:
|
| 115 |
-
_target_:
|
| 116 |
additional_transformations:
|
| 117 |
-
- _target_:
|
| 118 |
flow: Controller
|
| 119 |
output_interface:
|
| 120 |
_target_: Planner_CoderFlow.detect_finish_or_continue
|
|
@@ -122,14 +122,14 @@ topology:
|
|
| 122 |
|
| 123 |
- goal: "Execute the action specified by the Controller."
|
| 124 |
input_interface:
|
| 125 |
-
_target_:
|
| 126 |
keys_to_rename:
|
| 127 |
command: branch
|
| 128 |
command_args: branch_input_data
|
| 129 |
keys_to_select: ["branch", "branch_input_data"]
|
| 130 |
flow: Executor
|
| 131 |
output_interface:
|
| 132 |
-
_target_:
|
| 133 |
keys_to_rename:
|
| 134 |
branch_output_data: observation
|
| 135 |
keys_to_unpack: ["observation"]
|
|
|
|
| 24 |
azure: azure/gpt-4
|
| 25 |
|
| 26 |
Executor:
|
| 27 |
+
_target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
|
| 28 |
subflows_config:
|
| 29 |
write_plan:
|
| 30 |
_target_: Tachi67.InteractivePlanGenFlowModule.InteractivePlanGenFlow.instantiate_from_default_config
|
|
|
|
| 50 |
- "code_library"
|
| 51 |
- "code_library_location"
|
| 52 |
system_message_prompt_template:
|
| 53 |
+
_target_: aiflows.prompt_template.JinjaPrompt
|
| 54 |
template: |2-
|
| 55 |
You are a planner for a coding department, you write step-by-step plans for the coders to follow and execute.
|
| 56 |
|
|
|
|
| 112 |
topology:
|
| 113 |
- goal: "Select the next action and prepare the input for the executor."
|
| 114 |
input_interface:
|
| 115 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 116 |
additional_transformations:
|
| 117 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 118 |
flow: Controller
|
| 119 |
output_interface:
|
| 120 |
_target_: Planner_CoderFlow.detect_finish_or_continue
|
|
|
|
| 122 |
|
| 123 |
- goal: "Execute the action specified by the Controller."
|
| 124 |
input_interface:
|
| 125 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 126 |
keys_to_rename:
|
| 127 |
command: branch
|
| 128 |
command_args: branch_input_data
|
| 129 |
keys_to_select: ["branch", "branch_input_data"]
|
| 130 |
flow: Executor
|
| 131 |
output_interface:
|
| 132 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 133 |
keys_to_rename:
|
| 134 |
branch_output_data: observation
|
| 135 |
keys_to_unpack: ["observation"]
|