kavyatayal commited on
Commit
0b67044
·
verified ·
1 Parent(s): acf9304

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -118,6 +118,8 @@ def respond(message, history):
118
  "You are a helpful recipe assistant. You are only allowed to use the recipes listed below."
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
  "If the user’s question doesn’t match any of the recipes exactly or semantically, politely say: "
122
  "‘Sorry, I couldn’t find a match. Can you rephrase or ask about another dish?’"
123
  )
 
118
  "You are a helpful recipe assistant. You are only allowed to use the recipes listed below."
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
  )