tonyliu404 commited on
Commit
15831bd
·
verified ·
1 Parent(s): 898c911

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -156,17 +156,17 @@ Use the provided context to generate a result based on the following JSON format
156
  Instructions:
157
  1. Focus on the user's specific request and avoid irrelevant ingredients or approaches.
158
  2. Do not return anything other than the JSON.
159
- 3. If the answer is unclear AND the context does not fully address the prompt, return [].
160
- 4. Base the response on simple, healthy, and accessible ingredients and techniques.
161
- 5. Rewrite the description in third person
162
- 6. Include the ingredient amounts and say them in the steps.
163
 
164
  When choosing a recipe from the context, FOLLOW these instructions:
165
  1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
166
  2. If the recipes from the context makes sense but do not match {question}, generate an amazing, specific recipe for {question}
167
  with precise steps and measurements. Take some inspiration from context if availab.e
168
  3. Following the above template.
169
- 4. If the query makes no sense, return []
170
 
171
 
172
  Context: {context}
 
156
  Instructions:
157
  1. Focus on the user's specific request and avoid irrelevant ingredients or approaches.
158
  2. Do not return anything other than the JSON.
159
+ 3. Base the response on simple, healthy, and accessible ingredients and techniques.
160
+ 4. Rewrite the description in third person
161
+ 5. Include the ingredient amounts and say them in the steps.
162
+ 6. If the query makes no sense when trying to connection to a real dish, return []
163
 
164
  When choosing a recipe from the context, FOLLOW these instructions:
165
  1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
166
  2. If the recipes from the context makes sense but do not match {question}, generate an amazing, specific recipe for {question}
167
  with precise steps and measurements. Take some inspiration from context if availab.e
168
  3. Following the above template.
169
+ 4. If the query makes no sense when trying to connection to a real dish, return []
170
 
171
 
172
  Context: {context}