Update ContentWriterFlow.yaml
Browse files- ContentWriterFlow.yaml +5 -5
ContentWriterFlow.yaml
CHANGED
@@ -31,7 +31,7 @@ subflows_config:
|
|
31 |
|
32 |
|
33 |
Executor:
|
34 |
-
_target_:
|
35 |
# In subclasses, should provide what are the branches of executors
|
36 |
# E.g.,
|
37 |
# subflows_config:
|
@@ -44,9 +44,9 @@ early_exit_key: "EARLY_EXIT"
|
|
44 |
topology:
|
45 |
- goal: "Select the next action and prepare the input for the executor."
|
46 |
input_interface:
|
47 |
-
_target_:
|
48 |
additional_transformations:
|
49 |
-
- _target_:
|
50 |
flow: Controller
|
51 |
output_interface:
|
52 |
# In subclasses, should provide name of function name of output processor
|
@@ -55,14 +55,14 @@ topology:
|
|
55 |
|
56 |
- goal: "Execute the action specified by the Controller."
|
57 |
input_interface:
|
58 |
-
_target_:
|
59 |
keys_to_rename:
|
60 |
command: branch
|
61 |
command_args: branch_input_data
|
62 |
keys_to_select: ["branch", "branch_input_data"]
|
63 |
flow: Executor
|
64 |
output_interface:
|
65 |
-
_target_:
|
66 |
keys_to_rename:
|
67 |
branch_output_data: observation
|
68 |
keys_to_select: ["observation"]
|
|
|
31 |
|
32 |
|
33 |
Executor:
|
34 |
+
_target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
|
35 |
# In subclasses, should provide what are the branches of executors
|
36 |
# E.g.,
|
37 |
# subflows_config:
|
|
|
44 |
topology:
|
45 |
- goal: "Select the next action and prepare the input for the executor."
|
46 |
input_interface:
|
47 |
+
_target_: aiflows.interfaces.KeyInterface
|
48 |
additional_transformations:
|
49 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
50 |
flow: Controller
|
51 |
output_interface:
|
52 |
# In subclasses, should provide name of function name of output processor
|
|
|
55 |
|
56 |
- goal: "Execute the action specified by the Controller."
|
57 |
input_interface:
|
58 |
+
_target_: aiflows.interfaces.KeyInterface
|
59 |
keys_to_rename:
|
60 |
command: branch
|
61 |
command_args: branch_input_data
|
62 |
keys_to_select: ["branch", "branch_input_data"]
|
63 |
flow: Executor
|
64 |
output_interface:
|
65 |
+
_target_: aiflows.interfaces.KeyInterface
|
66 |
keys_to_rename:
|
67 |
branch_output_data: observation
|
68 |
keys_to_select: ["observation"]
|