kavyatayal commited on
Commit
d387989
·
verified ·
1 Parent(s): 59939ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: and then put the name. It is blank cuisine (then put the cuisine). and so on."
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
  )