bstraehle commited on
Commit
76c1c81
·
verified ·
1 Parent(s): 15ce3a3

Upload 2 files

Browse files
agents/config/agents.yaml CHANGED
@@ -95,6 +95,9 @@ manager_agent:
95
  role: >
96
  Manager Agent
97
  goal: >
98
- Delegate to your coworkers to get the answer to the question: {question}
 
 
 
99
  backstory: >
100
- As an expert manager assistant, you get the answer to the question.
 
95
  role: >
96
  Manager Agent
97
  goal: >
98
+ Determine how many questions a user is asking.
99
+ For every sub-question, delegate the sub-question only (not the entire question) to the best coworker with the required parameters only (sub-question, sub-question and file, etc.).
100
+ If there is a file, assume it is only relevant to the sub-question that refers to it.
101
+ Question(s): {question}
102
  backstory: >
103
+ As an expert manager assistant, you get the answer to the question(s).
agents/config/tasks.yaml CHANGED
@@ -1,6 +1,8 @@
1
  manager_task:
2
  description: >
3
- Delegate to your coworkers to get the answer to the question:
 
 
4
  - Web Search Agent requires a question.
5
  - Web Browser Agent requires a question and **URL**.
6
  - Chess Analysis Agent requires a chess question and **.png, .jpg, .jpeg, .webp, .heic, or .heif image file**.
@@ -12,8 +14,8 @@ manager_task:
12
  - Arithmetic Agent requires a question and **two numbers to add, subtract, multiply, divide, or get the modulus**.
13
  - Code Generation and Execution Agent requires a question and **JSON data**.
14
  - Code Execution Agent requires a question and **Python file**.
15
- - If there is no good coworker, delegate to the Code Generation Agent.
16
- Question: {question}
17
  expected_output: >
18
- The answer to the question.
19
  agent: manager_agent
 
1
  manager_task:
2
  description: >
3
+ Determine how many questions a user is asking.
4
+ For every sub-question, delegate the sub-question only (not the entire question) to the best coworker with the required parameters only (sub-question, sub-question and file, etc.).
5
+ If there is a file, assume it is only relevant to the sub-question that refers to it.
6
  - Web Search Agent requires a question.
7
  - Web Browser Agent requires a question and **URL**.
8
  - Chess Analysis Agent requires a chess question and **.png, .jpg, .jpeg, .webp, .heic, or .heif image file**.
 
14
  - Arithmetic Agent requires a question and **two numbers to add, subtract, multiply, divide, or get the modulus**.
15
  - Code Generation and Execution Agent requires a question and **JSON data**.
16
  - Code Execution Agent requires a question and **Python file**.
17
+ - If there is no best coworker, delegate to the Web Search Agent or Code Generation Agent.
18
+ Question(s): {question}
19
  expected_output: >
20
+ The answer to the question(s).
21
  agent: manager_agent