kavyatayal commited on
Commit
308ee7e
·
verified ·
1 Parent(s): d387989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -120,6 +120,7 @@ def respond(message, history):
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
  )
 
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
+ "Switch up the format a bit to make sure the responses are varied. Make sure you use proper grammar and don't have random capitals."
124
  "If the user’s question doesn’t match any of the recipes exactly or semantically, politely say: "
125
  "‘Sorry, I couldn’t find a match. Can you rephrase or ask about another dish?’"
126
  )