Tachi67 commited on
Commit
8305baa
·
1 Parent(s): be5d0e3

Update WritePlanFlow.yaml

Browse files
Files changed (1) hide show
  1. WritePlanFlow.yaml +42 -41
WritePlanFlow.yaml CHANGED
@@ -1,44 +1,45 @@
1
  name: "WritePlan"
2
  description: "Given goal and plan file location, generate plans to achieve the goal and write the plan to the file"
3
 
4
- input_interface:
5
- - "goal"
6
- - "file_location"
7
-
8
- output_interface:
9
- - "plan_writer_output"
10
-
11
- subflows_config:
12
- PlanGenerator:
13
- _target_: Tachi67.WritePlanFlowModule.PlanGeneratorAtomicFlow.instantiate_from_default_config
14
- backend:
15
- api_infos: ???
16
- model_name:
17
- openai: gpt-4
18
- azure: azure/gpt-4
19
-
20
- PlanFileEditor:
21
- _target_: Tachi67.WritePlanFlowModule.PlanFileEditorAtomicFlow.instantiate_from_default_config
22
-
23
- early_exit_key: "EARLY_EXIT"
24
-
25
- topology:
26
- - goal: "Generate plans for the programming executor to achieve the task."
27
- input_interface:
28
- _target_: flows.interfaces.KeyInterface
29
- additional_transformations:
30
- - _target_: flows.data_transformations.KeyMatchInput
31
- flow: PlanGenerator
32
- output_interface:
33
- _target_: Tachi67.WritePlanFlowModule.WritePlanFlow.detect_finish_or_continue
34
- reset: false
35
-
36
- - goal: "Write the plan to the specified file location"
37
- input_interface:
38
- _target_: flows.interfaces.KeyInterface
39
- keys_to_select: ["file_location", "plan"]
40
- flow: PlanFileEditor
41
- output_interface:
42
- _target_: flows.interfaces.KeyInterface
43
- keys_to_select: ["plan_writer_output"]
44
- reset: false
 
 
1
  name: "WritePlan"
2
  description: "Given goal and plan file location, generate plans to achieve the goal and write the plan to the file"
3
 
4
+ flow:
5
+ _target_: Tachi67.WritePlanFlowModule.WritePlanFlow.instantiate_from_default_config
6
+
7
+ input_interface:
8
+ - "goal"
9
+ - "file_location"
10
+
11
+ output_interface:
12
+ - "plan_writer_output"
13
+
14
+ subflows_config:
15
+ PlanGenerator:
16
+ _target_: Tachi67.WritePlanFlowModule.PlanGeneratorAtomicFlow.instantiate_from_default_config
17
+ backend:
18
+ api_infos: ???
19
+ model_name:
20
+ openai: gpt-4
21
+ azure: azure/gpt-4
22
+
23
+ PlanFileEditor:
24
+ _target_: Tachi67.WritePlanFlowModule.PlanFileEditorAtomicFlow.instantiate_from_default_config
25
+
26
+ early_exit_key: "EARLY_EXIT"
27
+
28
+ topology:
29
+ - goal: "Generate plans for the programming executor to achieve the task."
30
+ input_interface:
31
+ _target_: flows.interfaces.KeyInterface
32
+ additional_transformations:
33
+ - _target_: flows.data_transformations.KeyMatchInput
34
+ flow: PlanGenerator
35
+ reset: false
36
+
37
+ - goal: "Write the plan to the specified file location"
38
+ input_interface:
39
+ _target_: flows.interfaces.KeyInterface
40
+ keys_to_select: ["file_location", "plan"]
41
+ flow: PlanFileEditor
42
+ output_interface:
43
+ _target_: flows.interfaces.KeyInterface
44
+ keys_to_select: ["plan_writer_output"]
45
+ reset: false