Update CtrlExMem_CoderFlow.yaml
Browse files- CtrlExMem_CoderFlow.yaml +9 -9
CtrlExMem_CoderFlow.yaml
CHANGED
@@ -18,7 +18,7 @@ subflows_config:
|
|
18 |
openai: gpt-4
|
19 |
azure: azure/gpt-4
|
20 |
Executor:
|
21 |
-
_target_:
|
22 |
subflows_config:
|
23 |
extend_library:
|
24 |
_target_: Tachi67.ExtendLibraryFlowModule.ExtendLibraryFlow.instantiate_from_default_config
|
@@ -128,9 +128,9 @@ subflows_config:
|
|
128 |
topology:
|
129 |
- goal: "Select the next action and prepare the input for the executor."
|
130 |
input_interface:
|
131 |
-
_target_:
|
132 |
additional_transformations:
|
133 |
-
- _target_:
|
134 |
flow: Controller
|
135 |
output_interface:
|
136 |
_target_: CtrlExMem_CoderFlow.detect_finish_or_continue
|
@@ -138,14 +138,14 @@ topology:
|
|
138 |
|
139 |
- goal: "Execute the action specified by the Controller."
|
140 |
input_interface:
|
141 |
-
_target_:
|
142 |
keys_to_rename:
|
143 |
command: branch
|
144 |
command_args: branch_input_data
|
145 |
keys_to_select: ["branch", "branch_input_data"]
|
146 |
flow: Executor
|
147 |
output_interface:
|
148 |
-
_target_:
|
149 |
keys_to_rename:
|
150 |
branch_output_data: observation
|
151 |
keys_to_unpack: ["observation"]
|
@@ -153,16 +153,16 @@ topology:
|
|
153 |
|
154 |
- goal: "Write memory to memory files"
|
155 |
input_interface:
|
156 |
-
_target_:
|
157 |
additional_transformations:
|
158 |
-
- _target_:
|
159 |
flow: MemoryWriting
|
160 |
reset: false
|
161 |
|
162 |
- goal: "Read memory from memory files (flow_state)"
|
163 |
input_interface:
|
164 |
-
_target_:
|
165 |
additional_transformations:
|
166 |
-
- _target_:
|
167 |
flow: MemoryReading
|
168 |
reset: false
|
|
|
18 |
openai: gpt-4
|
19 |
azure: azure/gpt-4
|
20 |
Executor:
|
21 |
+
_target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
|
22 |
subflows_config:
|
23 |
extend_library:
|
24 |
_target_: Tachi67.ExtendLibraryFlowModule.ExtendLibraryFlow.instantiate_from_default_config
|
|
|
128 |
topology:
|
129 |
- goal: "Select the next action and prepare the input for the executor."
|
130 |
input_interface:
|
131 |
+
_target_: aiflows.interfaces.KeyInterface
|
132 |
additional_transformations:
|
133 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
134 |
flow: Controller
|
135 |
output_interface:
|
136 |
_target_: CtrlExMem_CoderFlow.detect_finish_or_continue
|
|
|
138 |
|
139 |
- goal: "Execute the action specified by the Controller."
|
140 |
input_interface:
|
141 |
+
_target_: aiflows.interfaces.KeyInterface
|
142 |
keys_to_rename:
|
143 |
command: branch
|
144 |
command_args: branch_input_data
|
145 |
keys_to_select: ["branch", "branch_input_data"]
|
146 |
flow: Executor
|
147 |
output_interface:
|
148 |
+
_target_: aiflows.interfaces.KeyInterface
|
149 |
keys_to_rename:
|
150 |
branch_output_data: observation
|
151 |
keys_to_unpack: ["observation"]
|
|
|
153 |
|
154 |
- goal: "Write memory to memory files"
|
155 |
input_interface:
|
156 |
+
_target_: aiflows.interfaces.KeyInterface
|
157 |
additional_transformations:
|
158 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
159 |
flow: MemoryWriting
|
160 |
reset: false
|
161 |
|
162 |
- goal: "Read memory from memory files (flow_state)"
|
163 |
input_interface:
|
164 |
+
_target_: aiflows.interfaces.KeyInterface
|
165 |
additional_transformations:
|
166 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
167 |
flow: MemoryReading
|
168 |
reset: false
|