WritePlanFlowModule / WritePlanFlow.yaml
Tachi67's picture
Upload 7 files
0660a86
raw
history blame
1.17 kB
name: "WritePlan"
description: "Given goal and plan file location, generate plans to achieve the goal and write the plan to the file"
input_interface:
- "goal"
- "file_location"
output_interface:
- "plan_writer_output"
subflows_config:
PlanGenerator:
_target_: Tachi67.PlanGeneratorAtomicFlow.instantiate_from_default_config
PlanFileEditor:
_target_: Tachi67.PlanFileEditorAtomicFlow.instantiate_from_default_config
early_exit_key: "EARLY_EXIT"
topology:
- goal: "Generate plans for the programming executor to achieve the task."
input_interface:
_target_: flows.interfaces.KeyInterface
additional_transformations:
- _target_: flows.data_transformations.KeyMatchInput
flow: PlanGenerator
output_interface:
_target_: WritePlanFlow.detect_finish_or_continue
reset: false
- goal: "Write the plan to the specified file location"
input_interface:
_target_: flows.interfaces.KeyInterface
keys_to_select: ["file_location", "plan"]
flow: PlanFileEditor
output_interface:
_target_: flows.interfaces.KeyInterface
keys_to_select: ["plan_writer_output"]
reset: false