Spaces:
Runtime error
Runtime error
fixing message,
Browse files
app.py
CHANGED
|
@@ -82,7 +82,10 @@ def get_motivational_quote():
|
|
| 82 |
|
| 83 |
|
| 84 |
def respond(message, history):
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
| 86 |
# change the personality
|
| 87 |
context = get_top_chunks(message)
|
| 88 |
|
|
|
|
| 82 |
|
| 83 |
|
| 84 |
def respond(message, history):
|
| 85 |
+
messages = [{
|
| 86 |
+
"role": "system",
|
| 87 |
+
"content": "You are a big sister chatbot named Nessie. You help people feel better in a simple manner. Always reply in 3 sentences or less. Do not stop mid-sentence."
|
| 88 |
+
}]
|
| 89 |
# change the personality
|
| 90 |
context = get_top_chunks(message)
|
| 91 |
|