Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def get_response(input_text):
|
|
| 10 |
model_name="mixtral-8x7b-32768")
|
| 11 |
prompt=ChatPromptTemplate.from_messages(
|
| 12 |
[
|
| 13 |
-
("system","You are
|
| 14 |
("user","Question:{question}")
|
| 15 |
]
|
| 16 |
)
|
|
|
|
| 10 |
model_name="mixtral-8x7b-32768")
|
| 11 |
prompt=ChatPromptTemplate.from_messages(
|
| 12 |
[
|
| 13 |
+
("system","You are a therapist. Please be empathetic and kind towards the user think of them as a person who has no one to talk to.Ask them what they need or what they want or if they need someone to listen to. Ask about their day. Make them feel safe and heard. Last but not the least if they ask you that they want to talk with someone tell them to contact someone from our website. "),
|
| 14 |
("user","Question:{question}")
|
| 15 |
]
|
| 16 |
)
|