Update PlanWriterFlow.yaml
Browse files- PlanWriterFlow.yaml +5 -5
PlanWriterFlow.yaml
CHANGED
|
@@ -23,7 +23,7 @@ subflows_config:
|
|
| 23 |
azure: azure/gpt-4
|
| 24 |
|
| 25 |
Executor:
|
| 26 |
-
_target_:
|
| 27 |
subflows_config:
|
| 28 |
write_plan:
|
| 29 |
_target_: Tachi67.InteractivePlanGenFlowModule.InteractivePlanGenFlow.instantiate_from_default_config
|
|
@@ -56,9 +56,9 @@ early_exit_key: "EARLY_EXIT"
|
|
| 56 |
topology:
|
| 57 |
- goal: "Select the next action and prepare the input for the executor."
|
| 58 |
input_interface:
|
| 59 |
-
_target_:
|
| 60 |
additional_transformations:
|
| 61 |
-
- _target_:
|
| 62 |
flow: Controller
|
| 63 |
output_interface:
|
| 64 |
_target_: PlanWriterFlow.detect_finish_or_continue
|
|
@@ -66,14 +66,14 @@ topology:
|
|
| 66 |
|
| 67 |
- goal: "Execute the action specified by the Controller."
|
| 68 |
input_interface:
|
| 69 |
-
_target_:
|
| 70 |
keys_to_rename:
|
| 71 |
command: branch
|
| 72 |
command_args: branch_input_data
|
| 73 |
keys_to_select: ["branch", "branch_input_data"]
|
| 74 |
flow: Executor
|
| 75 |
output_interface:
|
| 76 |
-
_target_:
|
| 77 |
keys_to_rename:
|
| 78 |
branch_output_data: observation
|
| 79 |
keys_to_unpack: ["observation"]
|
|
|
|
| 23 |
azure: azure/gpt-4
|
| 24 |
|
| 25 |
Executor:
|
| 26 |
+
_target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
|
| 27 |
subflows_config:
|
| 28 |
write_plan:
|
| 29 |
_target_: Tachi67.InteractivePlanGenFlowModule.InteractivePlanGenFlow.instantiate_from_default_config
|
|
|
|
| 56 |
topology:
|
| 57 |
- goal: "Select the next action and prepare the input for the executor."
|
| 58 |
input_interface:
|
| 59 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 60 |
additional_transformations:
|
| 61 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 62 |
flow: Controller
|
| 63 |
output_interface:
|
| 64 |
_target_: PlanWriterFlow.detect_finish_or_continue
|
|
|
|
| 66 |
|
| 67 |
- goal: "Execute the action specified by the Controller."
|
| 68 |
input_interface:
|
| 69 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 70 |
keys_to_rename:
|
| 71 |
command: branch
|
| 72 |
command_args: branch_input_data
|
| 73 |
keys_to_select: ["branch", "branch_input_data"]
|
| 74 |
flow: Executor
|
| 75 |
output_interface:
|
| 76 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 77 |
keys_to_rename:
|
| 78 |
branch_output_data: observation
|
| 79 |
keys_to_unpack: ["observation"]
|