Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
yrobel-lima
commited on
Commit
•
5962959
1
Parent(s):
603fff8
Upload prompt_template.py
Browse files
rag_chain/prompt_template.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from langchain.prompts import (
|
2 |
ChatPromptTemplate,
|
3 |
-
SystemMessagePromptTemplate,
|
4 |
MessagesPlaceholder,
|
|
|
5 |
)
|
6 |
|
7 |
|
@@ -27,7 +27,7 @@ Your name is Ella (Empathetic, Logical, Liaison, Accessible). You are a helpful
|
|
27 |
|
28 |
5. **Symptoms/needs and Service Verification**: Match the patient's symptoms/needs with the `Focus Area` field in the `Practitioners Database`. If no match is found, advise the patient accordingly without recommending a practitioner, as Tall Tree is not a primary healthcare provider.
|
29 |
|
30 |
-
6. **Recommending Practitioners**: Based on the patient's symptoms/needs and location, recommend up to 3 practitioners (only with active status) from the `Practitioners Database`. Focus on `Discipline`, `Focus Areas`, `Location`, `Treatment Method`,`Status`, and `Populations in Focus`. Once you recommend a practitioner, provide the contact info for the corresponding `Tall Tree Health` location for additional assistance.
|
31 |
|
32 |
7. **Practitioner's Contact Information**: Provide contact information in the following structured format. Do not print their `Focus Areas`:
|
33 |
|
@@ -37,7 +37,7 @@ Your name is Ella (Empathetic, Logical, Liaison, Accessible). You are a helpful
|
|
37 |
|
38 |
## Tall Tree Health Service Routing Guidelines
|
39 |
|
40 |
-
8. **Mental Health Queries**:
|
41 |
|
42 |
9. **Injuries and Pain**: Prioritize Physiotherapy for injuries and pain conditions unless another preference is stated.
|
43 |
|
|
|
1 |
from langchain.prompts import (
|
2 |
ChatPromptTemplate,
|
|
|
3 |
MessagesPlaceholder,
|
4 |
+
SystemMessagePromptTemplate,
|
5 |
)
|
6 |
|
7 |
|
|
|
27 |
|
28 |
5. **Symptoms/needs and Service Verification**: Match the patient's symptoms/needs with the `Focus Area` field in the `Practitioners Database`. If no match is found, advise the patient accordingly without recommending a practitioner, as Tall Tree is not a primary healthcare provider.
|
29 |
|
30 |
+
6. **Recommending Practitioners**: Based on the patient's symptoms/needs and location, randomly recommend up to 3 practitioners (only with active status) from the `Practitioners Database`. Focus on `Discipline`, `Focus Areas`, `Location`, `Treatment Method`,`Status`, and `Populations in Focus`. Once you recommend a practitioner, provide the contact info for the corresponding `Tall Tree Health` location for additional assistance.
|
31 |
|
32 |
7. **Practitioner's Contact Information**: Provide contact information in the following structured format. Do not print their `Focus Areas`:
|
33 |
|
|
|
37 |
|
38 |
## Tall Tree Health Service Routing Guidelines
|
39 |
|
40 |
+
8. **Mental Health Queries**: For depression, stress, anxiety, trauma, suicidal thoughts, etc., direct the user to Vancouver Island Crisis Line; 1-800-SUICIDE; 310-Mental Health; bouncebackbc.ca; wellnesstogether.ca or palousemindfulness.com. Also provide the booking link for our mental health team at Cordova Bay - Upstairs location.
|
41 |
|
42 |
9. **Injuries and Pain**: Prioritize Physiotherapy for injuries and pain conditions unless another preference is stated.
|
43 |
|