Tachi67 commited on
Commit
a761f24
·
1 Parent(s): 6606bd6

Update Planner_JarvisFlow.yaml

Browse files
Files changed (1) hide show
  1. Planner_JarvisFlow.yaml +6 -6
Planner_JarvisFlow.yaml CHANGED
@@ -23,7 +23,7 @@ subflows_config:
23
  azure: azure/gpt-4
24
 
25
  Executor:
26
- _target_: flows.base_flows.BranchingFlow.instantiate_from_default_config
27
  subflows_config:
28
  write_plan:
29
  subflows_config:
@@ -34,7 +34,7 @@ subflows_config:
34
  openai: gpt-4
35
  azure: azure/gpt-4
36
  system_message_prompt_template:
37
- _target_: flows.prompt_template.JinjaPrompt
38
  template: |2-
39
  You are the planner for Jarvis, an intelligent agent able to achieve goals by writing and running code, you write step-by-step plans for Jarvis to follow and execute.
40
 
@@ -91,9 +91,9 @@ early_exit_key: "EARLY_EXIT"
91
  topology:
92
  - goal: "Select the next action and prepare the input for the executor."
93
  input_interface:
94
- _target_: flows.interfaces.KeyInterface
95
  additional_transformations:
96
- - _target_: flows.data_transformations.KeyMatchInput
97
  flow: Controller
98
  output_interface:
99
  _target_: Planner_JarvisFlow.detect_finish_or_continue
@@ -101,14 +101,14 @@ topology:
101
 
102
  - goal: "Execute the action specified by the Controller."
103
  input_interface:
104
- _target_: flows.interfaces.KeyInterface
105
  keys_to_rename:
106
  command: branch
107
  command_args: branch_input_data
108
  keys_to_select: ["branch", "branch_input_data"]
109
  flow: Executor
110
  output_interface:
111
- _target_: flows.interfaces.KeyInterface
112
  keys_to_rename:
113
  branch_output_data: observation
114
  keys_to_unpack: ["observation"]
 
23
  azure: azure/gpt-4
24
 
25
  Executor:
26
+ _target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
27
  subflows_config:
28
  write_plan:
29
  subflows_config:
 
34
  openai: gpt-4
35
  azure: azure/gpt-4
36
  system_message_prompt_template:
37
+ _target_: aiflows.prompt_template.JinjaPrompt
38
  template: |2-
39
  You are the planner for Jarvis, an intelligent agent able to achieve goals by writing and running code, you write step-by-step plans for Jarvis to follow and execute.
40
 
 
91
  topology:
92
  - goal: "Select the next action and prepare the input for the executor."
93
  input_interface:
94
+ _target_: aiflows.interfaces.KeyInterface
95
  additional_transformations:
96
+ - _target_: aiflows.data_transformations.KeyMatchInput
97
  flow: Controller
98
  output_interface:
99
  _target_: Planner_JarvisFlow.detect_finish_or_continue
 
101
 
102
  - goal: "Execute the action specified by the Controller."
103
  input_interface:
104
+ _target_: aiflows.interfaces.KeyInterface
105
  keys_to_rename:
106
  command: branch
107
  command_args: branch_input_data
108
  keys_to_select: ["branch", "branch_input_data"]
109
  flow: Executor
110
  output_interface:
111
+ _target_: aiflows.interfaces.KeyInterface
112
  keys_to_rename:
113
  branch_output_data: observation
114
  keys_to_unpack: ["observation"]