eaglelandsonce
commited on
Commit
•
3211101
1
Parent(s):
49ab909
Update app.py
Browse files
app.py
CHANGED
@@ -162,41 +162,47 @@ def crewai_process(research_topic):
|
|
162 |
|
163 |
task6 = Task(
|
164 |
description=f"""Discuss the topic of {research_topic}
|
165 |
-
|
166 |
""",
|
167 |
agent=Emily
|
168 |
)
|
169 |
|
170 |
task7 = Task(
|
171 |
description=f"""Discuss the topic of {research_topic}
|
172 |
-
|
173 |
""",
|
174 |
agent=David
|
175 |
)
|
176 |
|
177 |
task8 = Task(
|
178 |
description=f""" Discuss the topic of {research_topic}
|
179 |
-
|
180 |
""",
|
181 |
agent=Sarah
|
182 |
)
|
183 |
task9 = Task(
|
184 |
description=f""" Discuss the topic of {research_topic}
|
185 |
-
|
186 |
""",
|
187 |
agent=Michael
|
188 |
)
|
189 |
task10 = Task(
|
190 |
description=f""" Discuss the topic of {research_topic}
|
191 |
-
|
192 |
|
193 |
""",
|
194 |
agent=Lisa
|
195 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
# Instantiate your crew with a sequential process
|
197 |
crew = Crew(
|
198 |
-
agents=[Emily, David, Sarah, Michael, Lisa ],
|
199 |
-
tasks=[task1, task2, task3, task4, task5, task6, task7, task8, task9, task10],
|
200 |
verbose=2,
|
201 |
process=Process.sequential
|
202 |
)
|
|
|
162 |
|
163 |
task6 = Task(
|
164 |
description=f"""Discuss the topic of {research_topic}
|
165 |
+
Share a personal experience about the topic and how they have struggle in the past with the topic. Use Mixtral
|
166 |
""",
|
167 |
agent=Emily
|
168 |
)
|
169 |
|
170 |
task7 = Task(
|
171 |
description=f"""Discuss the topic of {research_topic}
|
172 |
+
Share a personal experience about the topic and how they have struggle in the past with the topic. Use Mixtral
|
173 |
""",
|
174 |
agent=David
|
175 |
)
|
176 |
|
177 |
task8 = Task(
|
178 |
description=f""" Discuss the topic of {research_topic}
|
179 |
+
Share a personal experience about the topic and how they have struggle in the past with the topic. Use Mixtral
|
180 |
""",
|
181 |
agent=Sarah
|
182 |
)
|
183 |
task9 = Task(
|
184 |
description=f""" Discuss the topic of {research_topic}
|
185 |
+
Share a personal experience about the topic and how they have struggle in the past with the topic. Use Mixtral
|
186 |
""",
|
187 |
agent=Michael
|
188 |
)
|
189 |
task10 = Task(
|
190 |
description=f""" Discuss the topic of {research_topic}
|
191 |
+
Relate to and encourage members and offer strategies for dealing with the topic. Use Mixtral
|
192 |
|
193 |
""",
|
194 |
agent=Lisa
|
195 |
)
|
196 |
+
|
197 |
+
task11 = Task(
|
198 |
+
description=""" Write a three paragraph summary of the group discussion.
|
199 |
+
""",
|
200 |
+
agent=Lisa
|
201 |
+
)
|
202 |
# Instantiate your crew with a sequential process
|
203 |
crew = Crew(
|
204 |
+
agents=[Emily, David, Sarah, Michael, Lisa, Tammy ],
|
205 |
+
tasks=[task1, task2, task3, task4, task5, task6, task7, task8, task9, task10, task11],
|
206 |
verbose=2,
|
207 |
process=Process.sequential
|
208 |
)
|