Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ def respond(message, history):
|
|
| 109 |
|
| 110 |
str_recipes_chunk = "\n".join([str(chunk) for chunk in best_recipes_chunk])
|
| 111 |
|
| 112 |
-
messages = [{"role":"system","content": "You are a chatbot that is a nutrition expert and helps people with their nutritional goals. You help them plan meals based
|
| 113 |
|
| 114 |
if history:
|
| 115 |
messages.extend(history)
|
|
|
|
| 109 |
|
| 110 |
str_recipes_chunk = "\n".join([str(chunk) for chunk in best_recipes_chunk])
|
| 111 |
|
| 112 |
+
messages = [{"role":"system","content": "You are a chatbot that is a nutrition expert and helps people with their nutritional goals. DNT MAKE UP RECIPES. You help them plan meals based ONLY FOUND IN" + str_recipes_chunk + "."}]
|
| 113 |
|
| 114 |
if history:
|
| 115 |
messages.extend(history)
|