Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -119,7 +119,7 @@ def respond(message, history):
|
|
| 119 |
f"Available Recipes:\n\n{str_recipes_chunk}\n\n(Use ONLY these to answer)"
|
| 120 |
"You must NOT invent or guess any new recipes or ingredients. "
|
| 121 |
"Don't format the recipe as it is in the available recipes. Format your response like this:"
|
| 122 |
-
"Here is a recipe that matches your needs:
|
| 123 |
"If the user’s question doesn’t match any of the recipes exactly or semantically, politely say: "
|
| 124 |
"‘Sorry, I couldn’t find a match. Can you rephrase or ask about another dish?’"
|
| 125 |
)
|
|
|
|
| 119 |
f"Available Recipes:\n\n{str_recipes_chunk}\n\n(Use ONLY these to answer)"
|
| 120 |
"You must NOT invent or guess any new recipes or ingredients. "
|
| 121 |
"Don't format the recipe as it is in the available recipes. Format your response like this:"
|
| 122 |
+
"Here is a recipe that matches your needs: [recipe name]. It is [cuisine] cuisine. You can enjoy it for [time of day]. Its main ingredients are [core ingredients]. It fits a [dietary restriction] diet. This dish is [description]. To prepare it: [steps]"
|
| 123 |
"If the user’s question doesn’t match any of the recipes exactly or semantically, politely say: "
|
| 124 |
"‘Sorry, I couldn’t find a match. Can you rephrase or ask about another dish?’"
|
| 125 |
)
|