Phoenix21 commited on
Commit
9639e4c
·
1 Parent(s): d71a43c

changed directory Structure

Browse files
.gitignore ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ .env
2
+ myvenv/
3
+ __pycache__/
4
+ faiss_brand_store/
5
+ faiss_wellness_store/
app.py CHANGED
@@ -13,4 +13,4 @@ interface = gr.Interface(
13
  )
14
 
15
  if __name__ == "__main__":
16
- interface.launch(server_name="0.0.0.0", server_port=7860)
 
13
  )
14
 
15
  if __name__ == "__main__":
16
+ interface.launch(server_name="0.0.0.0", server_port=7860, share=True, debug=True)
classification_chain.py → chain/classification_chain.py RENAMED
@@ -4,7 +4,7 @@ from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
 
6
  # We'll import the classification_prompt from prompts.py
7
- from prompts import classification_prompt
8
 
9
  def get_classification_chain() -> LLMChain:
10
  """
 
4
  from langchain_groq import ChatGroq
5
 
6
  # We'll import the classification_prompt from prompts.py
7
+ from HealthyAiExpert.chain.prompts import classification_prompt
8
 
9
  def get_classification_chain() -> LLMChain:
10
  """
cleaner_chain.py → chain/cleaner_chain.py RENAMED
@@ -2,7 +2,7 @@
2
  import os
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
- from prompts import cleaner_prompt
6
 
7
  class CleanerChain(LLMChain):
8
  def merge(self, kb: str, web: str) -> str:
 
2
  import os
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
+ from HealthyAiExpert.chain.prompts import cleaner_prompt
6
 
7
  class CleanerChain(LLMChain):
8
  def merge(self, kb: str, web: str) -> str:
prompts.py → chain/prompts.py RENAMED
File without changes
refusal_chain.py → chain/refusal_chain.py RENAMED
@@ -3,7 +3,7 @@ import os
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
 
6
- from prompts import refusal_prompt
7
 
8
  def get_refusal_chain() -> LLMChain:
9
  """
 
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
 
6
+ from HealthyAiExpert.chain.prompts import refusal_prompt
7
 
8
  def get_refusal_chain() -> LLMChain:
9
  """
tailor_chain.py → chain/tailor_chain.py RENAMED
@@ -3,7 +3,7 @@ import os
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
 
6
- from prompts import tailor_prompt
7
 
8
  def get_tailor_chain() -> LLMChain:
9
  """
 
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
 
6
+ from HealthyAiExpert.chain.prompts import tailor_prompt
7
 
8
  def get_tailor_chain() -> LLMChain:
9
  """
tailor_chain_wellnessBrand.py → chain/tailor_chain_wellnessBrand.py RENAMED
@@ -3,7 +3,7 @@ import os
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
 
6
- from prompts import tailort_promptWellnessBrand1
7
 
8
  def get_tailor_chain_wellnessBrand() -> LLMChain:
9
  """
 
3
  from langchain.chains import LLMChain
4
  from langchain_groq import ChatGroq
5
 
6
+ from HealthyAiExpert.chain.prompts import tailort_promptWellnessBrand1
7
 
8
  def get_tailor_chain_wellnessBrand() -> LLMChain:
9
  """
AIChatbot.csv → dataset/AIChatbot.csv RENAMED
The diff for this file is too large to render. See raw diff
 
BrandAI.csv → dataset/BrandAI.csv RENAMED
@@ -1,53 +1,53 @@
1
- Question ,Answer
2
- ,
3
  What inspired Healthy AI Expert to focus specifically on supporting nurses with burnout in the U.S.?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
4
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
5
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
6
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
7
  How does Healthy AI Expert’s app help nurses boost their energy and focus throughout their workday?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
8
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
9
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
10
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
11
  What types of wellness services are offered to nurses through the Healthy AI Expert platform?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
12
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
13
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
14
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
15
  Can you explain how Healthy AI Expert’s personalized wellness programs work and how they are tailored to the unique needs of nurses?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
16
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
17
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
18
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
19
  "How does Healthy AI Expert track the progress of nurses using the app, and what kind of results can they expect to see?","Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
20
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
21
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
22
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
23
  What role does AI technology play in creating wellness programs and supporting nurses in their self-care journey?,"Healthy AI Expert is a California-based startup, founded in November 2024, with a clear mission to support nurses across the United States who are struggling with burnout and stress. Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
24
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
25
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
26
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
27
  How does Healthy AI Expert plan to collaborate with hospitals and healthcare organizations to address nurse burnout on a larger scale?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
28
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
29
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
30
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
31
  Can you provide examples of how Healthy AI Expert has already made a difference for nurses who are experiencing burnout or stress?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
32
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
33
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
34
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
35
  "What is Healthy AI Expert’s vision for the future of nurse wellness, and how does the company plan to expand its services?","Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
36
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
37
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
38
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
39
  How does Healthy AI Expert ensure that its wellness products and services are eco-friendly and sustainable for the long term?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
40
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
41
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
42
- By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
43
  What is Healthy AI Expert?,"
44
  Our focus is to make self-care simple and accessible, offering services to help with issues like burnout, anxiety, stress, sleep deprivation, weight management, and more. We aim to support users by providing wellness tools designed to improve mental, spiritual and physical health. Our approach includes a wide range of AI features that help create personalized wellness plans and encourage social connections for a healthier lifestyle.
45
  Healthy AI Expert’s mission is to empower people to take control of their health with comprehensive wellness packages. These include services like meditation, yoga, breathwork, daily routines, intermittent fasting, fitness, mobility and progress tracking to promote long-term growth to overall wellness. We also offer custom-designed bracelets that enhance energy and encourage positivity, making wellness efforts more enjoyable and effective.
46
- We are committed to launching eco-friendly products and services that help people live better lives."
47
  How can Healthy AI Expert help with stress and anxiety?,"
48
  Our focus is to make self-care simple and accessible, offering services to help with issues like burnout, anxiety, stress, sleep deprivation, weight management, and more. We aim to support users by providing wellness tools designed to improve mental, spiritual and physical health. Our approach includes a wide range of AI features that help create personalized wellness plans and encourage social connections for a healthier lifestyle.
49
  Healthy AI Expert’s mission is to empower people to take control of their health with comprehensive wellness packages. These include services like meditation, yoga, breathwork, daily routines, intermittent fasting, fitness, mobility and progress tracking to promote long-term growth to overall wellness. We also offer custom-designed bracelets that enhance energy and encourage positivity, making wellness efforts more enjoyable and effective.
50
- We are committed to launching eco-friendly products and services that help people live better lives."
51
  What kind of wellness services does Healthy AI Expert offer?,"Healthy AI Expert provides personalized wellness plans to individual needs, helping users achieve their goals with daily schedules and progress tracking. Services include guided meditation, breathwork, yoga, fitness routines, and mobility tracking to enhance mental, spiritual, and physical health. Additional features like intermittent fasting guidance, social connection tools, and custom-designed energy bracelets make self-care simple, effective, and enjoyable.
52
  Personalized Wellness Plans
53
  Healthy AI Expert creates wellness plans just for you, based on your unique needs and goals. After completing an assessment, you get a custom plan that outlines daily activities to help you improve and track your progress step-by-step.
@@ -64,36 +64,36 @@ Stay connected with others on their wellness journey. Build a community, share e
64
  Custom-Designed Wellness Bracelets
65
  Wear stylish bracelets designed to boost your energy and encourage positivity. These unique accessories are a fun way to stay connected to your wellness goals throughout the day.
66
  This holistic approach makes wellness easy to follow, empowering you to live a healthier, more balanced life. JOIN Healthy AI Expert for more information and updates!
67
- "
68
- Can Healthy AI Expert help with sleep problems?,"Yes, Healthy AI Expert can help with sleep problems through guided meditation, breathwork techniques, personalized daily routines, and wellness plans designed to improve sleep quality and relaxation."
69
- How does Healthy AI Expert create personalized wellness plans?,"Yes, Healthy AI Expert can help with sleep problems through guided meditation, breathwork techniques, personalized daily routines, and wellness plans designed to improve sleep quality and relaxation."
70
  What are the benefits of Healthy AI Expert's wellness bracelets?,"Healthy AI Expert's wellness bracelets are designed to:
71
  1. Enhance your vitality and keep you feeling motivated throughout the day.
72
  2. Promote a sense of optimism and emotional balance.
73
  3. Serve as a stylish, wearable reminder to stay committed to your health journey.
74
- 4. Integrate seamlessly into your lifestyle as a physical tool for improving overall well-being."
75
- Is Healthy AI Expert focused on eco-friendly products?,"Yes, Healthy AI Expert is committed to launching eco-friendly products and services that promote wellness while being mindful of environmental sustainability."
76
- Can I track my progress with Healthy AI Expert?,"Yes, Healthy AI Expert allows you to track your progress through mobility tracking, fitness monitoring, and personalized daily routines. This helps you stay on track with your wellness goals and see measurable improvements over time. With the app's assessment, users can track their progress and make adjustments to their wellness plans as needed. The assessment helps your journey, while the tracking features allow you to monitor your improvements in fitness, mobility, and overall wellness."
77
  What services does Healthy AI Expert provide for weight management?,"Healthy AI Expert offers several services & packages to support weight management:
78
  1. Custom plans to your goals, which may include weight management strategies.
79
  2. Provides structured intermittent fasting plans to help manage weight and improve overall health.
80
  3. Exercise programs are designed to support weight loss and increase strength and stamina.
81
  4. Integration of healthy eating habits and routines that encourage mindful eating and regular physical activity.
82
- These services work together to help users achieve and maintain a healthy weight in a sustainable way."
83
  Who founded Healthy AI Expert?,"Healthy AI Expert offers several services & packages to support weight management:
84
  1. Custom plans to your goals, which may include weight management strategies.
85
  2. Provides structured intermittent fasting plans to help manage weight and improve overall health.
86
  3. Exercise programs are designed to support weight loss and increase strength and stamina.
87
  4. Integration of healthy eating habits and routines that encourage mindful eating and regular physical activity.
88
- These services work together to help users achieve and maintain a healthy weight in a sustainable way."
89
  How can Healthy AI Expert help with burnout?,"Healthy AI Expert helps with burnout by offering a variety of tools to reduce stress and improve overall well-being:
90
  1. Guided Meditation and relaxation practices that promote mindfulness and reduce mental fatigue.
91
  2. Breathwork techniques that help manage stress, calm the mind, and restore energy.
92
  3. Personalized Wellness Plans and customized routines that incorporate stress-reducing activities like yoga, fitness, and rest.
93
  4. Daily Routines and simple habits to help balance work, rest, and self-care, to avoid burnout.
94
  5. Platforms for community support, helping you stay motivated and connected with others on a similar wellness journey.
95
- Together, these services help reduce stress, increase energy, and restore mental clarity to prevent and recover from burnout."
96
- Does Healthy AI Expert offer meditation or yoga classes?,"Yes, Healthy AI Expert offers digital meditation and yoga classes through their wellness packages, providing users with convenient access to guided sessions online, rather than in-person classes."
97
- What AI features does Healthy AI Expert use to improve health?,"Yes, Healthy AI Expert offers digital meditation and yoga classes through their wellness packages, providing users with convenient access to guided sessions online, rather than in-person classes."
98
- How can I contact Healthy AI Expert for support?,You can contact Healthy AI Expert for support
99
  Is Healthy AI Expert available worldwide?,"Healthy AI Expert will be launching its app in India during phase I, with plans for future expansion beyond that. Although, Healthy AI Expert is available worldwide for users to the website and app for free to access community services. This allows them to read and explore helpful resources while understanding more about the wellness services offered."
 
1
+ Question ,Answer
2
+ ,
3
  What inspired Healthy AI Expert to focus specifically on supporting nurses with burnout in the U.S.?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
4
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
5
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
6
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
7
  How does Healthy AI Expert’s app help nurses boost their energy and focus throughout their workday?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
8
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
9
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
10
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
11
  What types of wellness services are offered to nurses through the Healthy AI Expert platform?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
12
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
13
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
14
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
15
  Can you explain how Healthy AI Expert’s personalized wellness programs work and how they are tailored to the unique needs of nurses?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
16
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
17
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
18
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
19
  "How does Healthy AI Expert track the progress of nurses using the app, and what kind of results can they expect to see?","Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
20
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
21
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
22
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
23
  What role does AI technology play in creating wellness programs and supporting nurses in their self-care journey?,"Healthy AI Expert is a California-based startup, founded in November 2024, with a clear mission to support nurses across the United States who are struggling with burnout and stress. Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
24
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
25
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
26
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
27
  How does Healthy AI Expert plan to collaborate with hospitals and healthcare organizations to address nurse burnout on a larger scale?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
28
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
29
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
30
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
31
  Can you provide examples of how Healthy AI Expert has already made a difference for nurses who are experiencing burnout or stress?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
32
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
33
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
34
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
35
  "What is Healthy AI Expert’s vision for the future of nurse wellness, and how does the company plan to expand its services?","Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
36
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
37
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
38
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
39
  How does Healthy AI Expert ensure that its wellness products and services are eco-friendly and sustainable for the long term?,"Our innovative wellness products and services are designed to elevate focus, boost energy levels, and promote overall well-being, especially for healthcare professionals facing intense pressure in their daily work.
40
  With nurses in the U.S. dealing with overwhelming workloads, emotional strain, and physical exhaustion, we’ve created a comprehensive solution to address these challenges. Our app provides personalized wellness programs tailored to nurses' unique needs, offering access to mental health support, stress-relief techniques, and energy-boosting tools. We understand the importance of self-care in healthcare, and our platform is designed to help nurses recover, refocus, and thrive in their demanding roles.
41
  The United States currently has over 4.5 million nurses, many of whom face high levels of burnout and stress. At Healthy AI Expert, we aim to be part of the solution, offering a holistic approach to wellness through services like meditation, yoga, breathwork, and personalized daily routines. Our app also tracks progress, helping nurses stay on top of their well-being and offering ongoing support from healthcare professionals.
42
+ By providing tools that help elevate focus, reduce stress, and increase energy levels, we’re empowering nurses to continue delivering exceptional care while also prioritizing their own health. Our goal is to make a meaningful difference in the lives of nurses, creating a healthier, more sustainable work environment across the nation."
43
  What is Healthy AI Expert?,"
44
  Our focus is to make self-care simple and accessible, offering services to help with issues like burnout, anxiety, stress, sleep deprivation, weight management, and more. We aim to support users by providing wellness tools designed to improve mental, spiritual and physical health. Our approach includes a wide range of AI features that help create personalized wellness plans and encourage social connections for a healthier lifestyle.
45
  Healthy AI Expert’s mission is to empower people to take control of their health with comprehensive wellness packages. These include services like meditation, yoga, breathwork, daily routines, intermittent fasting, fitness, mobility and progress tracking to promote long-term growth to overall wellness. We also offer custom-designed bracelets that enhance energy and encourage positivity, making wellness efforts more enjoyable and effective.
46
+ We are committed to launching eco-friendly products and services that help people live better lives."
47
  How can Healthy AI Expert help with stress and anxiety?,"
48
  Our focus is to make self-care simple and accessible, offering services to help with issues like burnout, anxiety, stress, sleep deprivation, weight management, and more. We aim to support users by providing wellness tools designed to improve mental, spiritual and physical health. Our approach includes a wide range of AI features that help create personalized wellness plans and encourage social connections for a healthier lifestyle.
49
  Healthy AI Expert’s mission is to empower people to take control of their health with comprehensive wellness packages. These include services like meditation, yoga, breathwork, daily routines, intermittent fasting, fitness, mobility and progress tracking to promote long-term growth to overall wellness. We also offer custom-designed bracelets that enhance energy and encourage positivity, making wellness efforts more enjoyable and effective.
50
+ We are committed to launching eco-friendly products and services that help people live better lives."
51
  What kind of wellness services does Healthy AI Expert offer?,"Healthy AI Expert provides personalized wellness plans to individual needs, helping users achieve their goals with daily schedules and progress tracking. Services include guided meditation, breathwork, yoga, fitness routines, and mobility tracking to enhance mental, spiritual, and physical health. Additional features like intermittent fasting guidance, social connection tools, and custom-designed energy bracelets make self-care simple, effective, and enjoyable.
52
  Personalized Wellness Plans
53
  Healthy AI Expert creates wellness plans just for you, based on your unique needs and goals. After completing an assessment, you get a custom plan that outlines daily activities to help you improve and track your progress step-by-step.
 
64
  Custom-Designed Wellness Bracelets
65
  Wear stylish bracelets designed to boost your energy and encourage positivity. These unique accessories are a fun way to stay connected to your wellness goals throughout the day.
66
  This holistic approach makes wellness easy to follow, empowering you to live a healthier, more balanced life. JOIN Healthy AI Expert for more information and updates!
67
+ "
68
+ Can Healthy AI Expert help with sleep problems?,"Yes, Healthy AI Expert can help with sleep problems through guided meditation, breathwork techniques, personalized daily routines, and wellness plans designed to improve sleep quality and relaxation."
69
+ How does Healthy AI Expert create personalized wellness plans?,"Yes, Healthy AI Expert can help with sleep problems through guided meditation, breathwork techniques, personalized daily routines, and wellness plans designed to improve sleep quality and relaxation."
70
  What are the benefits of Healthy AI Expert's wellness bracelets?,"Healthy AI Expert's wellness bracelets are designed to:
71
  1. Enhance your vitality and keep you feeling motivated throughout the day.
72
  2. Promote a sense of optimism and emotional balance.
73
  3. Serve as a stylish, wearable reminder to stay committed to your health journey.
74
+ 4. Integrate seamlessly into your lifestyle as a physical tool for improving overall well-being."
75
+ Is Healthy AI Expert focused on eco-friendly products?,"Yes, Healthy AI Expert is committed to launching eco-friendly products and services that promote wellness while being mindful of environmental sustainability."
76
+ Can I track my progress with Healthy AI Expert?,"Yes, Healthy AI Expert allows you to track your progress through mobility tracking, fitness monitoring, and personalized daily routines. This helps you stay on track with your wellness goals and see measurable improvements over time. With the app's assessment, users can track their progress and make adjustments to their wellness plans as needed. The assessment helps your journey, while the tracking features allow you to monitor your improvements in fitness, mobility, and overall wellness."
77
  What services does Healthy AI Expert provide for weight management?,"Healthy AI Expert offers several services & packages to support weight management:
78
  1. Custom plans to your goals, which may include weight management strategies.
79
  2. Provides structured intermittent fasting plans to help manage weight and improve overall health.
80
  3. Exercise programs are designed to support weight loss and increase strength and stamina.
81
  4. Integration of healthy eating habits and routines that encourage mindful eating and regular physical activity.
82
+ These services work together to help users achieve and maintain a healthy weight in a sustainable way."
83
  Who founded Healthy AI Expert?,"Healthy AI Expert offers several services & packages to support weight management:
84
  1. Custom plans to your goals, which may include weight management strategies.
85
  2. Provides structured intermittent fasting plans to help manage weight and improve overall health.
86
  3. Exercise programs are designed to support weight loss and increase strength and stamina.
87
  4. Integration of healthy eating habits and routines that encourage mindful eating and regular physical activity.
88
+ These services work together to help users achieve and maintain a healthy weight in a sustainable way."
89
  How can Healthy AI Expert help with burnout?,"Healthy AI Expert helps with burnout by offering a variety of tools to reduce stress and improve overall well-being:
90
  1. Guided Meditation and relaxation practices that promote mindfulness and reduce mental fatigue.
91
  2. Breathwork techniques that help manage stress, calm the mind, and restore energy.
92
  3. Personalized Wellness Plans and customized routines that incorporate stress-reducing activities like yoga, fitness, and rest.
93
  4. Daily Routines and simple habits to help balance work, rest, and self-care, to avoid burnout.
94
  5. Platforms for community support, helping you stay motivated and connected with others on a similar wellness journey.
95
+ Together, these services help reduce stress, increase energy, and restore mental clarity to prevent and recover from burnout."
96
+ Does Healthy AI Expert offer meditation or yoga classes?,"Yes, Healthy AI Expert offers digital meditation and yoga classes through their wellness packages, providing users with convenient access to guided sessions online, rather than in-person classes."
97
+ What AI features does Healthy AI Expert use to improve health?,"Yes, Healthy AI Expert offers digital meditation and yoga classes through their wellness packages, providing users with convenient access to guided sessions online, rather than in-person classes."
98
+ How can I contact Healthy AI Expert for support?,You can contact Healthy AI Expert for support
99
  Is Healthy AI Expert available worldwide?,"Healthy AI Expert will be launching its app in India during phase I, with plans for future expansion beyond that. Although, Healthy AI Expert is available worldwide for users to the website and app for free to access community services. This allows them to read and explore helpful resources while understanding more about the wellness services offered."
groq_client.py DELETED
@@ -1,94 +0,0 @@
1
- import requests
2
- import os
3
- import json
4
- import logging
5
- from typing import List, Dict, Any, Optional, Union
6
-
7
- logger = logging.getLogger(__name__)
8
-
9
- class GroqClient:
10
- """Direct implementation of Groq API client"""
11
-
12
- def __init__(self,
13
- model: str = "llama3-70b-8192",
14
- temperature: float = 0.7,
15
- max_tokens: int = 2048,
16
- groq_api_key: Optional[str] = None):
17
- """Initialize the Groq client with model parameters"""
18
- self.model = model
19
- self.temperature = temperature
20
- self.max_tokens = max_tokens
21
-
22
- # Get API key from params or environment variables
23
- self.api_key = groq_api_key or os.environ.get("GROQ_API_KEY_FALLBACK", os.environ.get("GROQ_API_KEY"))
24
- if not self.api_key:
25
- raise ValueError("Groq API key not found. Please provide it or set GROQ_API_KEY environment variable.")
26
-
27
- self.base_url = "https://api.groq.com/openai/v1"
28
- self.headers = {
29
- "Authorization": f"Bearer {self.api_key}",
30
- "Content-Type": "application/json"
31
- }
32
-
33
- def list_models(self) -> Dict[str, Any]:
34
- """List available models from Groq"""
35
- url = f"{self.base_url}/models"
36
- response = requests.get(url, headers=self.headers)
37
- response.raise_for_status()
38
- return response.json()
39
-
40
- def generate(self,
41
- messages: List[Dict[str, str]],
42
- stream: bool = False) -> Union[Dict[str, Any], Any]:
43
- """Generate a response given a list of messages"""
44
- url = f"{self.base_url}/chat/completions"
45
-
46
- payload = {
47
- "model": self.model,
48
- "messages": messages,
49
- "temperature": self.temperature,
50
- "max_tokens": self.max_tokens,
51
- "stream": stream
52
- }
53
-
54
- try:
55
- response = requests.post(url, headers=self.headers, json=payload, stream=stream)
56
- response.raise_for_status()
57
-
58
- if stream:
59
- return self._handle_streaming_response(response)
60
- else:
61
- return response.json()
62
- except requests.exceptions.RequestException as e:
63
- logger.error(f"Error calling Groq API: {e}")
64
- if hasattr(e, 'response') and e.response is not None:
65
- try:
66
- error_details = e.response.json()
67
- logger.error(f"API error details: {error_details}")
68
- except:
69
- logger.error(f"API error status code: {e.response.status_code}")
70
- raise
71
-
72
- def _handle_streaming_response(self, response):
73
- """Handle streaming response from Groq API"""
74
- for line in response.iter_lines():
75
- if line:
76
- line = line.decode('utf-8')
77
- if line.startswith('data: '):
78
- data = line[6:] # Remove 'data: ' prefix
79
- if data.strip() == '[DONE]':
80
- break
81
- try:
82
- json_data = json.loads(data)
83
- yield json_data
84
- except json.JSONDecodeError:
85
- logger.error(f"Failed to decode JSON: {data}")
86
-
87
- def __call__(self, prompt: str, **kwargs) -> str:
88
- """Make the client callable with a prompt for compatibility"""
89
- messages = [
90
- {"role": "user", "content": prompt}
91
- ]
92
-
93
- response = self.generate(messages)
94
- return response['choices'][0]['message']['content']
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pipeline.py CHANGED
@@ -35,11 +35,11 @@ from langchain_core.callbacks import Callbacks
35
 
36
  # Custom chain imports
37
  # from groq_client import GroqClient
38
- from classification_chain import get_classification_chain
39
- from refusal_chain import get_refusal_chain
40
- from tailor_chain import get_tailor_chain
41
- from cleaner_chain import get_cleaner_chain
42
- from tailor_chain_wellnessBrand import get_tailor_chain_wellnessBrand
43
 
44
  # Mistral moderation
45
  from mistralai import Mistral
@@ -66,7 +66,7 @@ from smolagents import (
66
  )
67
 
68
  # Import new prompts
69
- from prompts import (
70
  selfharm_prompt, frustration_prompt, ethical_conflict_prompt,
71
  classification_prompt, refusal_prompt, tailor_prompt, cleaner_prompt
72
  )
@@ -348,7 +348,7 @@ def build_or_load_vectorstore(csv_path: str, store_dir: str) -> FAISS:
348
  embeddings = HuggingFaceEmbeddings(
349
  model_name="sentence-transformers/multi-qa-mpnet-base-dot-v1"
350
  )
351
- return FAISS.load_local(store_dir, embeddings)
352
  else:
353
  logger.info(f"Building new FAISS store from {csv_path}")
354
  df = pd.read_csv(csv_path)
@@ -488,27 +488,27 @@ class PipelineState:
488
  self.cleaner_chain = get_cleaner_chain()
489
 
490
  # Specialized chain for self-harm
491
- from prompts import selfharm_prompt
492
  # self.self_harm_chain = LLMChain(llm=gemini_llm, prompt=selfharm_prompt, verbose=False)
493
 
494
  self.self_harm_chain = LLMChain(llm=groq_fallback_llm, prompt=selfharm_prompt, verbose=False)
495
 
496
 
497
  # NEW: chain for frustration/harsh queries
498
- from prompts import frustration_prompt
499
  # self.frustration_chain = LLMChain(llm=gemini_llm, prompt=frustration_prompt, verbose=False)
500
  self.frustration_chain = LLMChain(llm=groq_fallback_llm, prompt=frustration_prompt, verbose=False)
501
 
502
 
503
  # NEW: chain for ethical conflict queries
504
- from prompts import ethical_conflict_prompt
505
  # self.ethical_conflict_chain = LLMChain(llm=gemini_llm, prompt=ethical_conflict_prompt, verbose=False)
506
  self.ethical_conflict_chain = LLMChain(llm=groq_fallback_llm, prompt=ethical_conflict_prompt, verbose=False)
507
 
508
  # Build brand & wellness vectorstores
509
- brand_csv = "BrandAI.csv"
510
  brand_store = "faiss_brand_store"
511
- wellness_csv = "AIChatbot.csv"
512
  wellness_store = "faiss_wellness_store"
513
 
514
  brand_vs = build_or_load_vectorstore(brand_csv, brand_store)
 
35
 
36
  # Custom chain imports
37
  # from groq_client import GroqClient
38
+ from HealthyAiExpert.chain.classification_chain import get_classification_chain
39
+ from HealthyAiExpert.chain.refusal_chain import get_refusal_chain
40
+ from HealthyAiExpert.chain.tailor_chain import get_tailor_chain
41
+ from HealthyAiExpert.chain.cleaner_chain import get_cleaner_chain
42
+ from HealthyAiExpert.chain.tailor_chain_wellnessBrand import get_tailor_chain_wellnessBrand
43
 
44
  # Mistral moderation
45
  from mistralai import Mistral
 
66
  )
67
 
68
  # Import new prompts
69
+ from HealthyAiExpert.chain.prompts import (
70
  selfharm_prompt, frustration_prompt, ethical_conflict_prompt,
71
  classification_prompt, refusal_prompt, tailor_prompt, cleaner_prompt
72
  )
 
348
  embeddings = HuggingFaceEmbeddings(
349
  model_name="sentence-transformers/multi-qa-mpnet-base-dot-v1"
350
  )
351
+ return FAISS.load_local(store_dir, embeddings,allow_dangerous_deserialization=True)# It will allow to deserialize and use the faiss store created first time locally
352
  else:
353
  logger.info(f"Building new FAISS store from {csv_path}")
354
  df = pd.read_csv(csv_path)
 
488
  self.cleaner_chain = get_cleaner_chain()
489
 
490
  # Specialized chain for self-harm
491
+ from HealthyAiExpert.chain.prompts import selfharm_prompt
492
  # self.self_harm_chain = LLMChain(llm=gemini_llm, prompt=selfharm_prompt, verbose=False)
493
 
494
  self.self_harm_chain = LLMChain(llm=groq_fallback_llm, prompt=selfharm_prompt, verbose=False)
495
 
496
 
497
  # NEW: chain for frustration/harsh queries
498
+ from HealthyAiExpert.chain.prompts import frustration_prompt
499
  # self.frustration_chain = LLMChain(llm=gemini_llm, prompt=frustration_prompt, verbose=False)
500
  self.frustration_chain = LLMChain(llm=groq_fallback_llm, prompt=frustration_prompt, verbose=False)
501
 
502
 
503
  # NEW: chain for ethical conflict queries
504
+ from HealthyAiExpert.chain.prompts import ethical_conflict_prompt
505
  # self.ethical_conflict_chain = LLMChain(llm=gemini_llm, prompt=ethical_conflict_prompt, verbose=False)
506
  self.ethical_conflict_chain = LLMChain(llm=groq_fallback_llm, prompt=ethical_conflict_prompt, verbose=False)
507
 
508
  # Build brand & wellness vectorstores
509
+ brand_csv = "dataset\BrandAI.csv"
510
  brand_store = "faiss_brand_store"
511
+ wellness_csv = "dataset\AIChatbot.csv"
512
  wellness_store = "faiss_wellness_store"
513
 
514
  brand_vs = build_or_load_vectorstore(brand_csv, brand_store)
setup.sh CHANGED
@@ -1,7 +1,57 @@
1
  #!/bin/bash
 
 
 
 
 
2
 
3
- # Install dependencies from requirements.txt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  pip install -r requirements.txt
5
 
6
- # Install the spaCy model
7
- python -m spacy download en_core_web_sm
 
1
  #!/bin/bash
2
+ # Check if Git is installed
3
+ if ! command -v git &> /dev/null; then
4
+ echo "Git is not installed. Please install Git and try again."
5
+ exit 1
6
+ fi
7
 
8
+ # Check if Conda is installed
9
+ if ! command -v conda &> /dev/null; then
10
+ echo "Conda is not installed. Please install Conda and try again."
11
+ exit 1
12
+ fi
13
+
14
+ # Clone the repository if it doesn't exist
15
+ REPO_URL="https://github.com/username/HealthyAiExpert.git"
16
+ DIR_NAME="HealthyAiExpert"
17
+
18
+ if [ ! -d "$DIR_NAME" ]; then
19
+ git clone $REPO_URL $DIR_NAME
20
+ echo "Cloned repository into $DIR_NAME"
21
+ else
22
+ echo "Directory $DIR_NAME already exists. Skipping clone."
23
+ fi
24
+
25
+ cd $DIR_NAME
26
+
27
+ # Create .env file if it doesn't exist
28
+ if [ ! -f ".env" ]; then
29
+ touch .env
30
+ echo "Created .env file. Please add the necessary variables."
31
+ else
32
+ echo ".env file already exists. Please ensure it has the correct variables."
33
+ fi
34
+
35
+ # Create .gitignore file
36
+ echo "__pycache__/" > .gitignore
37
+ echo "*.pyc" >> .gitignore
38
+ echo ".env" >> .gitignore
39
+ echo "Created .gitignore with default entries."
40
+
41
+ # Create Conda environment if it doesn't exist
42
+ ENV_NAME="myenv"
43
+ PYTHON_VERSION="3.11"
44
+
45
+ if ! conda env list | grep -q $ENV_NAME; then
46
+ conda create --name $ENV_NAME python=$PYTHON_VERSION -y
47
+ echo "Created Conda environment: $ENV_NAME"
48
+ else
49
+ echo "Conda environment $ENV_NAME already exists."
50
+ fi
51
+ # Activate the Conda environment
52
+ eval "$(conda shell.bash hook)"
53
+ conda activate $ENV_NAME
54
+ # Install required packages
55
  pip install -r requirements.txt
56
 
57
+ echo "Setup complete. To run the project, use: python app.py"