Update CtrlExMemFlow.yaml
Browse files- CtrlExMemFlow.yaml +9 -9
CtrlExMemFlow.yaml
CHANGED
|
@@ -32,7 +32,7 @@ subflows_config:
|
|
| 32 |
# input_args: ["search_term"]
|
| 33 |
|
| 34 |
Executor:
|
| 35 |
-
_target_:
|
| 36 |
# In subclasses, should provide what are the branches of executors
|
| 37 |
# E.g.,
|
| 38 |
# subflows_config:
|
|
@@ -52,9 +52,9 @@ subflows_config:
|
|
| 52 |
topology:
|
| 53 |
- goal: "Select the next action and prepare the input for the executor."
|
| 54 |
input_interface:
|
| 55 |
-
_target_:
|
| 56 |
additional_transformations:
|
| 57 |
-
- _target_:
|
| 58 |
flow: Controller
|
| 59 |
output_interface: ???
|
| 60 |
# In subclasses, should provide name of function name of output processor
|
|
@@ -63,14 +63,14 @@ topology:
|
|
| 63 |
|
| 64 |
- goal: "Execute the action specified by the Controller."
|
| 65 |
input_interface:
|
| 66 |
-
_target_:
|
| 67 |
keys_to_rename:
|
| 68 |
command: branch
|
| 69 |
command_args: branch_input_data
|
| 70 |
keys_to_select: ["branch", "branch_input_data"]
|
| 71 |
flow: Executor
|
| 72 |
output_interface:
|
| 73 |
-
_target_:
|
| 74 |
keys_to_rename:
|
| 75 |
branch_output_data: observation
|
| 76 |
keys_to_unpack: ["observation"]
|
|
@@ -78,16 +78,16 @@ topology:
|
|
| 78 |
|
| 79 |
- goal: "Write memory to memory files"
|
| 80 |
input_interface:
|
| 81 |
-
_target_:
|
| 82 |
additional_transformations:
|
| 83 |
-
- _target_:
|
| 84 |
flow: MemoryWriting
|
| 85 |
reset: false
|
| 86 |
|
| 87 |
- goal: "Read memory from memory files (flow_state)"
|
| 88 |
input_interface:
|
| 89 |
-
_target_:
|
| 90 |
additional_transformations:
|
| 91 |
-
- _target_:
|
| 92 |
flow: MemoryReading
|
| 93 |
reset: false
|
|
|
|
| 32 |
# input_args: ["search_term"]
|
| 33 |
|
| 34 |
Executor:
|
| 35 |
+
_target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
|
| 36 |
# In subclasses, should provide what are the branches of executors
|
| 37 |
# E.g.,
|
| 38 |
# subflows_config:
|
|
|
|
| 52 |
topology:
|
| 53 |
- goal: "Select the next action and prepare the input for the executor."
|
| 54 |
input_interface:
|
| 55 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 56 |
additional_transformations:
|
| 57 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 58 |
flow: Controller
|
| 59 |
output_interface: ???
|
| 60 |
# In subclasses, should provide name of function name of output processor
|
|
|
|
| 63 |
|
| 64 |
- goal: "Execute the action specified by the Controller."
|
| 65 |
input_interface:
|
| 66 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 67 |
keys_to_rename:
|
| 68 |
command: branch
|
| 69 |
command_args: branch_input_data
|
| 70 |
keys_to_select: ["branch", "branch_input_data"]
|
| 71 |
flow: Executor
|
| 72 |
output_interface:
|
| 73 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 74 |
keys_to_rename:
|
| 75 |
branch_output_data: observation
|
| 76 |
keys_to_unpack: ["observation"]
|
|
|
|
| 78 |
|
| 79 |
- goal: "Write memory to memory files"
|
| 80 |
input_interface:
|
| 81 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 82 |
additional_transformations:
|
| 83 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 84 |
flow: MemoryWriting
|
| 85 |
reset: false
|
| 86 |
|
| 87 |
- goal: "Read memory from memory files (flow_state)"
|
| 88 |
input_interface:
|
| 89 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 90 |
additional_transformations:
|
| 91 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 92 |
flow: MemoryReading
|
| 93 |
reset: false
|