Update CtrlExMem_JarvisFlow.yaml
Browse files
CtrlExMem_JarvisFlow.yaml
CHANGED
|
@@ -17,7 +17,7 @@ subflows_config:
|
|
| 17 |
openai: gpt-4
|
| 18 |
azure: azure/gpt-4
|
| 19 |
Executor:
|
| 20 |
-
_target_:
|
| 21 |
subflows_config:
|
| 22 |
Coder:
|
| 23 |
_target_: Tachi67.CoderFlowModule.CoderFlow.instantiate_from_default_config
|
|
@@ -180,9 +180,9 @@ subflows_config:
|
|
| 180 |
topology:
|
| 181 |
- goal: "Select the next action and prepare the input for the executor."
|
| 182 |
input_interface:
|
| 183 |
-
_target_:
|
| 184 |
additional_transformations:
|
| 185 |
-
- _target_:
|
| 186 |
flow: Controller
|
| 187 |
output_interface:
|
| 188 |
_target_: CtrlExMem_JarvisFlow.detect_finish_or_continue
|
|
@@ -190,14 +190,14 @@ topology:
|
|
| 190 |
|
| 191 |
- goal: "Execute the action specified by the Controller."
|
| 192 |
input_interface:
|
| 193 |
-
_target_:
|
| 194 |
keys_to_rename:
|
| 195 |
command: branch
|
| 196 |
command_args: branch_input_data
|
| 197 |
keys_to_select: ["branch", "branch_input_data"]
|
| 198 |
flow: Executor
|
| 199 |
output_interface:
|
| 200 |
-
_target_:
|
| 201 |
keys_to_rename:
|
| 202 |
branch_output_data: observation
|
| 203 |
keys_to_unpack: ["observation"]
|
|
@@ -205,16 +205,16 @@ topology:
|
|
| 205 |
|
| 206 |
- goal: "Write memory to memory files"
|
| 207 |
input_interface:
|
| 208 |
-
_target_:
|
| 209 |
additional_transformations:
|
| 210 |
-
- _target_:
|
| 211 |
flow: MemoryWriting
|
| 212 |
reset: false
|
| 213 |
|
| 214 |
- goal: "Read memory from memory files (flow_state)"
|
| 215 |
input_interface:
|
| 216 |
-
_target_:
|
| 217 |
additional_transformations:
|
| 218 |
-
- _target_:
|
| 219 |
flow: MemoryReading
|
| 220 |
reset: false
|
|
|
|
| 17 |
openai: gpt-4
|
| 18 |
azure: azure/gpt-4
|
| 19 |
Executor:
|
| 20 |
+
_target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
|
| 21 |
subflows_config:
|
| 22 |
Coder:
|
| 23 |
_target_: Tachi67.CoderFlowModule.CoderFlow.instantiate_from_default_config
|
|
|
|
| 180 |
topology:
|
| 181 |
- goal: "Select the next action and prepare the input for the executor."
|
| 182 |
input_interface:
|
| 183 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 184 |
additional_transformations:
|
| 185 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 186 |
flow: Controller
|
| 187 |
output_interface:
|
| 188 |
_target_: CtrlExMem_JarvisFlow.detect_finish_or_continue
|
|
|
|
| 190 |
|
| 191 |
- goal: "Execute the action specified by the Controller."
|
| 192 |
input_interface:
|
| 193 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 194 |
keys_to_rename:
|
| 195 |
command: branch
|
| 196 |
command_args: branch_input_data
|
| 197 |
keys_to_select: ["branch", "branch_input_data"]
|
| 198 |
flow: Executor
|
| 199 |
output_interface:
|
| 200 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 201 |
keys_to_rename:
|
| 202 |
branch_output_data: observation
|
| 203 |
keys_to_unpack: ["observation"]
|
|
|
|
| 205 |
|
| 206 |
- goal: "Write memory to memory files"
|
| 207 |
input_interface:
|
| 208 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 209 |
additional_transformations:
|
| 210 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 211 |
flow: MemoryWriting
|
| 212 |
reset: false
|
| 213 |
|
| 214 |
- goal: "Read memory from memory files (flow_state)"
|
| 215 |
input_interface:
|
| 216 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 217 |
additional_transformations:
|
| 218 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 219 |
flow: MemoryReading
|
| 220 |
reset: false
|