Tachi67 commited on
Commit
174d5f8
·
1 Parent(s): 7260d73

Update WritePlanFlow.yaml

Browse files
Files changed (1) hide show
  1. WritePlanFlow.yaml +41 -42
WritePlanFlow.yaml CHANGED
@@ -1,45 +1,44 @@
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
 
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
+
5
+
6
+ input_interface:
7
+ - "goal"
8
+ - "file_location"
9
+
10
+ output_interface:
11
+ - "plan_writer_output"
12
+
13
+ subflows_config:
14
+ PlanGenerator:
15
+ _target_: Tachi67.WritePlanFlowModule.PlanGeneratorAtomicFlow.instantiate_from_default_config
16
+ backend:
17
+ api_infos: ???
18
+ model_name:
19
+ openai: gpt-4
20
+ azure: azure/gpt-4
21
+
22
+ PlanFileEditor:
23
+ _target_: Tachi67.WritePlanFlowModule.PlanFileEditorAtomicFlow.instantiate_from_default_config
24
+
25
+ early_exit_key: "EARLY_EXIT"
26
+
27
+ topology:
28
+ - goal: "Generate plans for the programming executor to achieve the task."
29
+ input_interface:
30
+ _target_: flows.interfaces.KeyInterface
31
+ additional_transformations:
32
+ - _target_: flows.data_transformations.KeyMatchInput
33
+ flow: PlanGenerator
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