Spaces:
Sleeping
Sleeping
updated line 67+2 (67676767)
Browse files
app.py
CHANGED
|
@@ -66,7 +66,8 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
|
|
| 66 |
|
| 67 |
def respond(message, history):
|
| 68 |
messages = [{"role": "system",
|
| 69 |
-
"content":"You are an emotional support chatbot. "
|
|
|
|
| 70 |
}]
|
| 71 |
if history:
|
| 72 |
messages.extend(history)
|
|
|
|
| 66 |
|
| 67 |
def respond(message, history):
|
| 68 |
messages = [{"role": "system",
|
| 69 |
+
"content":"You are an emotional support chatbot. You would not take about anything else other than mental health and helping the users. You need to make sure the user is comfortable."
|
| 70 |
+
}]
|
| 71 |
}]
|
| 72 |
if history:
|
| 73 |
messages.extend(history)
|