eaglelandsonce commited on
Commit
9231d7e
1 Parent(s): c140c84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -37,7 +37,7 @@ TITLE3 = """<h3 align="center">"To see active group discussion click on logs dur
37
  def crewai_process(research_topic):
38
  # Define your agents with roles and goals
39
  Emily = Agent(
40
- role='Mental Patient',
41
  goal='To learn how to manage her anxiety in social situations.',
42
  backstory="""Emily is a 28-year-old graphic designer. She has always struggled with social anxiety,
43
  making it difficult for her to participate in group settings. She joined the therapy group to improve
@@ -46,14 +46,14 @@ def crewai_process(research_topic):
46
  allow_delegation=False,
47
  llm = gemini_llm,
48
  tools=[
49
- MixtralSearchTools.mixtral_normal
50
 
51
  ]
52
 
53
  )
54
 
55
  David = Agent(
56
- role='Mental Patient',
57
  goal='To gain insights into managing his bipolar disorder.',
58
  backstory="""David, a 35-year-old musician, has been living with bipolar disorder for over a decade.
59
  His condition has impacted his career and personal life. He seeks to understand his emotions better
@@ -69,7 +69,7 @@ def crewai_process(research_topic):
69
  )
70
 
71
  Sarah = Agent(
72
- role='Mental Patient',
73
  goal='To find strategies to cope with her depression.',
74
  backstory="""Sarah, 42, is a former teacher who has been battling depression for several years.
75
  The illness has led her to leave her job. She hopes to find new coping mechanisms and rediscover
@@ -85,7 +85,7 @@ def crewai_process(research_topic):
85
  )
86
 
87
  Michael = Agent(
88
- role='Mental Patient',
89
  goal='To overcome his PTSD and return to a normal life.',
90
  backstory="""Michael is a 30-year-old ex-soldier. He developed PTSD following his service.
91
  Struggling with flashbacks and anxiety, he joined the group to seek support and ways to
@@ -94,14 +94,14 @@ def crewai_process(research_topic):
94
  allow_delegation=False,
95
  llm = gemini_llm,
96
  tools=[
97
- ZephyrSearchTools.zephyr_normal
98
 
99
  ]
100
 
101
  )
102
 
103
  Lisa = Agent(
104
- role='Therapist',
105
  goal='To facilitate the group progress and assist each member in their personal goals.',
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
@@ -110,8 +110,8 @@ def crewai_process(research_topic):
110
  allow_delegation=False,
111
  llm = gemini_llm,
112
  tools=[
113
- MixtralSearchTools.mixtral_normal,
114
- ZephyrSearchTools.zephyr_normal
115
 
116
  ]
117
 
 
37
  def crewai_process(research_topic):
38
  # Define your agents with roles and goals
39
  Emily = Agent(
40
+ role='Emily Mental Patient Graphic Designer Anxiety',
41
  goal='To learn how to manage her anxiety in social situations.',
42
  backstory="""Emily is a 28-year-old graphic designer. She has always struggled with social anxiety,
43
  making it difficult for her to participate in group settings. She joined the therapy group to improve
 
46
  allow_delegation=False,
47
  llm = gemini_llm,
48
  tools=[
49
+ MixtralSearchTools.mixtral_crazy
50
 
51
  ]
52
 
53
  )
54
 
55
  David = Agent(
56
+ role='David Mental Patient Musician Bipolar',
57
  goal='To gain insights into managing his bipolar disorder.',
58
  backstory="""David, a 35-year-old musician, has been living with bipolar disorder for over a decade.
59
  His condition has impacted his career and personal life. He seeks to understand his emotions better
 
69
  )
70
 
71
  Sarah = Agent(
72
+ role='Sarah Mental Patient Former Teacher Depression',
73
  goal='To find strategies to cope with her depression.',
74
  backstory="""Sarah, 42, is a former teacher who has been battling depression for several years.
75
  The illness has led her to leave her job. She hopes to find new coping mechanisms and rediscover
 
85
  )
86
 
87
  Michael = Agent(
88
+ role='Michael Mental Patient Ex-Soldier',
89
  goal='To overcome his PTSD and return to a normal life.',
90
  backstory="""Michael is a 30-year-old ex-soldier. He developed PTSD following his service.
91
  Struggling with flashbacks and anxiety, he joined the group to seek support and ways to
 
94
  allow_delegation=False,
95
  llm = gemini_llm,
96
  tools=[
97
+ ZephyrSearchTools.zephyr_crazy
98
 
99
  ]
100
 
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.',
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
 
110
  allow_delegation=False,
111
  llm = gemini_llm,
112
  tools=[
113
+ MixtralSearchTools.mixtral_crazy,
114
+ ZephyrSearchTools.zephyr_crazy
115
 
116
  ]
117