AbstractBossFlowModule / AbstractBossFlow.yaml
Tachi67's picture
Update AbstractBossFlow.yaml
f009267
name: "AbstractBossFlow"
description: "Abstract class of a boss, e.g. coder, ExtendLibrary, etc."
_target_: Tachi67.AbstractBossFlowModule.AbstractBossFlow.instantiate_from_default_config
memory_files: ???
input_interface:
- "goal"
output_interface:
- "result"
- "summary" # to be written into the logs of the upper level boss
subflows_config:
MemoryReading:
_target_: Tachi67.MemoryReadingFlowModule.MemoryReadingAtomicFlow.instantiate_from_default_config
Planner:
_target_: Tachi67.PlanWriterFlowModule.PlanWriterFlow.instantiate_from_default_config
# the flow with a controller, few executors in a branch, memory reading and memory writing
CtrlExMem:
_target_: Tachi67.AbstractBossFlowModule.CtrlExMemFlow.instantiate_from_default_config
early_exit_key: "EARLY_EXIT"
topology:
- goal: "Read in necessary memory"
input_interface:
_target_: aiflows.interfaces.KeyInterface
additional_transformations:
- _target_: aiflows.data_transformations.KeyMatchInput
flow: MemoryReading
reset: false
- goal: "Make plans in an interactive fashion, write the plan into the plan file"
input_interface:
_target_: aiflows.interfaces.KeyInterface
additional_transformations:
- _target_: aiflows.data_transformations.KeyMatchInput
flow: Planner
reset: false
- goal: "Execute the plan and return answer & a summary of what was done"
input_interface:
_target_: aiflows.interfaces.KeyInterface
additional_transformations:
- _target_: aiflows.data_transformations.KeyMatchInput
flow: CtrlExMem
reset: false