Spaces:
Sleeping
Sleeping
vaishakgkumar
commited on
Commit
•
d94e2c3
1
Parent(s):
3167c24
Update main.py
Browse files
main.py
CHANGED
@@ -107,7 +107,7 @@ def process_query(oai_key, query, max_auto_reply):
|
|
107 |
def codingteam():
|
108 |
_reset_agents()
|
109 |
team = autogen.GroupChat(
|
110 |
-
agents=[
|
111 |
messages=[],
|
112 |
max_round=12,
|
113 |
speaker_selection_method="round_robin"
|
@@ -119,7 +119,7 @@ def process_query(oai_key, query, max_auto_reply):
|
|
119 |
def covid19team():
|
120 |
_reset_agents()
|
121 |
team = autogen.GroupChat(
|
122 |
-
agents=[
|
123 |
messages=[],
|
124 |
max_round=12
|
125 |
)
|
@@ -130,7 +130,7 @@ def process_query(oai_key, query, max_auto_reply):
|
|
130 |
def financeteam():
|
131 |
_reset_agents()
|
132 |
team = autogen.GroupChat(
|
133 |
-
agents=[
|
134 |
messages=[],
|
135 |
max_round=12,
|
136 |
speaker_selection_method="round_robin"
|
@@ -142,7 +142,7 @@ def process_query(oai_key, query, max_auto_reply):
|
|
142 |
def debateteam():
|
143 |
_reset_agents()
|
144 |
team = autogen.GroupChat(
|
145 |
-
agents=[
|
146 |
messages=[],
|
147 |
max_round=12,
|
148 |
speaker_selection_method="round_robin"
|
@@ -154,7 +154,7 @@ def process_query(oai_key, query, max_auto_reply):
|
|
154 |
def homeworkteam():
|
155 |
_reset_agents()
|
156 |
team = autogen.GroupChat(
|
157 |
-
agents=[
|
158 |
messages=[],
|
159 |
max_round=12,
|
160 |
speaker_selection_method="round_robin"
|
@@ -166,7 +166,7 @@ def process_query(oai_key, query, max_auto_reply):
|
|
166 |
def consultingteam():
|
167 |
_reset_agents()
|
168 |
team = autogen.GroupChat(
|
169 |
-
agents=[
|
170 |
messages=[],
|
171 |
max_round=12,
|
172 |
speaker_selection_method="round_robin"
|
|
|
107 |
def codingteam():
|
108 |
_reset_agents()
|
109 |
team = autogen.GroupChat(
|
110 |
+
agents=[boss_aid, coder, pm, reviewer],
|
111 |
messages=[],
|
112 |
max_round=12,
|
113 |
speaker_selection_method="round_robin"
|
|
|
119 |
def covid19team():
|
120 |
_reset_agents()
|
121 |
team = autogen.GroupChat(
|
122 |
+
agents=[boss_aid, covid19_scientist, healthcare_expert, finance_analyst],
|
123 |
messages=[],
|
124 |
max_round=12
|
125 |
)
|
|
|
130 |
def financeteam():
|
131 |
_reset_agents()
|
132 |
team = autogen.GroupChat(
|
133 |
+
agents=[boss_aid, finance_analyst, pm, reviewer, finance_expert],
|
134 |
messages=[],
|
135 |
max_round=12,
|
136 |
speaker_selection_method="round_robin"
|
|
|
142 |
def debateteam():
|
143 |
_reset_agents()
|
144 |
team = autogen.GroupChat(
|
145 |
+
agents=[boss_aid, debate_expert, pm, reviewer, debate_champion],
|
146 |
messages=[],
|
147 |
max_round=12,
|
148 |
speaker_selection_method="round_robin"
|
|
|
154 |
def homeworkteam():
|
155 |
_reset_agents()
|
156 |
team = autogen.GroupChat(
|
157 |
+
agents=[boss_aid, academic_expert, pm, reviewer, academic_whiz],
|
158 |
messages=[],
|
159 |
max_round=12,
|
160 |
speaker_selection_method="round_robin"
|
|
|
166 |
def consultingteam():
|
167 |
_reset_agents()
|
168 |
team = autogen.GroupChat(
|
169 |
+
agents=[boss_aid, consultant, pm, reviewer, consulting_pro],
|
170 |
messages=[],
|
171 |
max_round=12,
|
172 |
speaker_selection_method="round_robin"
|