Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def get_motivational_quote():
|
|
| 58 |
def respond(message, history):
|
| 59 |
messages = [{
|
| 60 |
"role": "system",
|
| 61 |
-
"content": "You are a big sister chatbot named Nessie. You help people feel better in a simple manner. You need to be kind! please! Always reply in 3 sentences. Or if a list, 5 bullet points. Do NOT stop mid-sentence,
|
| 62 |
}]
|
| 63 |
context = get_top_chunks(message)
|
| 64 |
if history:
|
|
|
|
| 58 |
def respond(message, history):
|
| 59 |
messages = [{
|
| 60 |
"role": "system",
|
| 61 |
+
"content": "You are a big sister chatbot named Nessie. You help people feel better in a simple manner. You need to be kind! please! Always reply in 3 sentences. Or if a list, 5 bullet points. Do NOT stop mid-sentence, even if more tokens are needed. When the user is asking for ideas give 5 max, as you don't want to overwhelm them"
|
| 62 |
}]
|
| 63 |
context = get_top_chunks(message)
|
| 64 |
if history:
|