eaglelandsonce commited on
Commit
f72b262
1 Parent(s): f596c77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -101,7 +101,7 @@ def crewai_process(research_topic):
101
  )
102
 
103
  Lisa = Agent(
104
- role='Dr. Lisa Therapist',
105
  goal='To facilitate the group progress and assist each member in their personal goals through group therapy.',
106
  backstory=""" Dr. Thompson is a seasoned psychologist specializing in group therapy.
107
  With over 15 years of experience, she is skilled at creating a safe space for her patients
@@ -148,29 +148,34 @@ def crewai_process(research_topic):
148
  )
149
 
150
  task6 = Task(
151
- description=f"""Introduct {research_topic}. Use Mixtral
 
152
  """,
153
  agent=Emily
154
  )
155
 
156
  task7 = Task(
157
- description=f"""Discuss the {research_topic}. Use Mixtral
 
158
  """,
159
  agent=David
160
  )
161
 
162
  task8 = Task(
163
- description=f""" Discuss the {research_topic} . Use Mixtral
 
164
  """,
165
  agent=Sarah
166
  )
167
  task9 = Task(
168
- description=f""" Discuss the {research_topic}. Use Mixtral
 
169
  """,
170
  agent=Michael
171
  )
172
  task10 = Task(
173
- description=f""" Discuss the {research_topic} create a 3 paragraph summary of discussion.
 
174
 
175
  """,
176
  agent=Lisa
@@ -178,7 +183,7 @@ def crewai_process(research_topic):
178
  # Instantiate your crew with a sequential process
179
  crew = Crew(
180
  agents=[Emily, David, Sarah, Michael, Lisa ],
181
- tasks=[task1, task2, task3, task4, task5],
182
  verbose=2,
183
  process=Process.sequential
184
  )
 
101
  )
102
 
103
  Lisa = Agent(
104
+ role='Lisa',
105
  goal='To facilitate the group progress and assist each member in their personal goals through group therapy.',
106
  backstory=""" Dr. Thompson is a seasoned psychologist specializing in group therapy.
107
  With over 15 years of experience, she is skilled at creating a safe space for her patients
 
148
  )
149
 
150
  task6 = Task(
151
+ description=f"""Discuss the topic of {research_topic}
152
+ Members share personal experiences and strategies. Use Mixtral
153
  """,
154
  agent=Emily
155
  )
156
 
157
  task7 = Task(
158
+ description=f"""Discuss the topic of {research_topic}
159
+ Members share personal experiences and strategies. Use Mixtral
160
  """,
161
  agent=David
162
  )
163
 
164
  task8 = Task(
165
+ description=f""" Discuss the topic of {research_topic}
166
+ Members share personal experiences and strategies. Use Mixtral
167
  """,
168
  agent=Sarah
169
  )
170
  task9 = Task(
171
+ description=f""" Discuss the topic of {research_topic}
172
+ Members share personal experiences and strategies. Use Mixtral
173
  """,
174
  agent=Michael
175
  )
176
  task10 = Task(
177
+ description=f""" Discuss the topic of {research_topic}
178
+ Members share personal experiences and strategies. Use Mixtral
179
 
180
  """,
181
  agent=Lisa
 
183
  # Instantiate your crew with a sequential process
184
  crew = Crew(
185
  agents=[Emily, David, Sarah, Michael, Lisa ],
186
+ tasks=[task1, task2, task3, task4, task5, task6, task7, task8, task9, task10],
187
  verbose=2,
188
  process=Process.sequential
189
  )