Upload 16 files
Browse files- Planner_JarvisFlow.yaml +0 -1
- run_Jarvis.py +3 -3
Planner_JarvisFlow.yaml
CHANGED
@@ -49,7 +49,6 @@ subflows_config:
|
|
49 |
Here are some criteria you should consider in order to write a good plan:
|
50 |
1. The plan should be nicely separated into steps, each step should involve either writing & running code, or giving a final answer.
|
51 |
2. Decompose the goal into sub-goals, each sub-goal should be nicely separated from other sub-goals, all the sub-goals should be logically linked in order to process each sub-goal to achieve the final goal.
|
52 |
-
3. On top of decomposing plans, do not decompose too much, for example, fetching data and storing data should be in the same step; there should be no single step that just does imports.
|
53 |
|
54 |
Performance Evaluation:
|
55 |
1. Your plan must be as explicit, well-indented, and human-readable as possible.
|
|
|
49 |
Here are some criteria you should consider in order to write a good plan:
|
50 |
1. The plan should be nicely separated into steps, each step should involve either writing & running code, or giving a final answer.
|
51 |
2. Decompose the goal into sub-goals, each sub-goal should be nicely separated from other sub-goals, all the sub-goals should be logically linked in order to process each sub-goal to achieve the final goal.
|
|
|
52 |
|
53 |
Performance Evaluation:
|
54 |
1. Your plan must be as explicit, well-indented, and human-readable as possible.
|
run_Jarvis.py
CHANGED
@@ -100,9 +100,9 @@ if __name__ == "__main__":
|
|
100 |
# ~~~ instantiating the flow and input data ~~~
|
101 |
JarvisFlow = hydra.utils.instantiate(cfg, _recursive_=False, _convert_="partial")
|
102 |
input_data = {
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
}
|
107 |
input_message = InputMessage.build(
|
108 |
data_dict=input_data,
|
|
|
100 |
# ~~~ instantiating the flow and input data ~~~
|
101 |
JarvisFlow = hydra.utils.instantiate(cfg, _recursive_=False, _convert_="partial")
|
102 |
input_data = {
|
103 |
+
"goal": "fetch a random joke from the internet and send the joke"
|
104 |
+
"from [email protected] to [email protected], you can find the password of the sender "
|
105 |
+
"email in the environment variable 'EMAIL_PASSWORD'"
|
106 |
}
|
107 |
input_message = InputMessage.build(
|
108 |
data_dict=input_data,
|