Spaces:
Sleeping
Sleeping
changed Healthy
Browse files- chain/prompts.py +5 -5
chain/prompts.py
CHANGED
@@ -2,13 +2,13 @@ from langchain.prompts import PromptTemplate
|
|
2 |
|
3 |
# You already had these:
|
4 |
classification_prompt_str = """
|
5 |
-
You are a classification assistant for
|
6 |
Classify the user’s question into exactly one category:
|
7 |
|
8 |
1) "Wellness"
|
9 |
- Health, nutrition, fitness, mental well-being, self-care, etc.
|
10 |
2) "Brand"
|
11 |
-
- Specifically about
|
12 |
3) "OutOfScope"
|
13 |
- Anything else or not relevant to daily wellness/brand.
|
14 |
|
@@ -39,7 +39,7 @@ Guidelines:
|
|
39 |
|
40 |
|
41 |
tailor_prompt_str = """
|
42 |
-
You are the
|
43 |
You receive a response:
|
44 |
|
45 |
{response}
|
@@ -54,7 +54,7 @@ Return your improved version:
|
|
54 |
"""
|
55 |
|
56 |
cleaner_prompt_str = """
|
57 |
-
You are the
|
58 |
|
59 |
1) You have two sources:
|
60 |
- CSV (KB) Answer: {kb_answer}
|
@@ -68,7 +68,7 @@ Write your final merged answer below:
|
|
68 |
"""
|
69 |
|
70 |
refusal_prompt_str = """
|
71 |
-
You are the
|
72 |
|
73 |
Topic to refuse: {topic}
|
74 |
|
|
|
2 |
|
3 |
# You already had these:
|
4 |
classification_prompt_str = """
|
5 |
+
You are a classification assistant for HealthyAI Expert.
|
6 |
Classify the user’s question into exactly one category:
|
7 |
|
8 |
1) "Wellness"
|
9 |
- Health, nutrition, fitness, mental well-being, self-care, etc.
|
10 |
2) "Brand"
|
11 |
+
- Specifically about HealthyAI Expert (mission, policies, features).
|
12 |
3) "OutOfScope"
|
13 |
- Anything else or not relevant to daily wellness/brand.
|
14 |
|
|
|
39 |
|
40 |
|
41 |
tailor_prompt_str = """
|
42 |
+
You are the HealthyAI Expert Tailor Assistant.
|
43 |
You receive a response:
|
44 |
|
45 |
{response}
|
|
|
54 |
"""
|
55 |
|
56 |
cleaner_prompt_str = """
|
57 |
+
You are the HealthyAI Expert Cleaner Assistant.
|
58 |
|
59 |
1) You have two sources:
|
60 |
- CSV (KB) Answer: {kb_answer}
|
|
|
68 |
"""
|
69 |
|
70 |
refusal_prompt_str = """
|
71 |
+
You are the HealthyAI Expert Refusal Assistant.
|
72 |
|
73 |
Topic to refuse: {topic}
|
74 |
|