Spaces:
Sleeping
Sleeping
tonyliu404
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -144,15 +144,18 @@ Instructions:
|
|
144 |
3. If the answer is unclear or the context does not fully address the prompt, return [].
|
145 |
4. Base the response on simple, healthy, and accessible ingredients and techniques.
|
146 |
5. Rewrite the description in third person
|
147 |
-
|
148 |
-
Context: {context}
|
149 |
|
150 |
When choosing a recipe from the context, FOLLOW these instructions:
|
|
|
151 |
1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
|
152 |
2. If the recipes from the context makes sense but do not match {question}, generate an amazing, specific recipe for {question}
|
153 |
with precise steps and measurements. Take some inspiration from context if availab.e
|
154 |
-
|
155 |
-
|
|
|
|
|
|
|
156 |
|
157 |
Question: {question}
|
158 |
"""
|
|
|
144 |
3. If the answer is unclear or the context does not fully address the prompt, return [].
|
145 |
4. Base the response on simple, healthy, and accessible ingredients and techniques.
|
146 |
5. Rewrite the description in third person
|
147 |
+
6. If context does not match {question} at all, return []
|
|
|
148 |
|
149 |
When choosing a recipe from the context, FOLLOW these instructions:
|
150 |
+
0. If context does not match {question} at all, return []
|
151 |
1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
|
152 |
2. If the recipes from the context makes sense but do not match {question}, generate an amazing, specific recipe for {question}
|
153 |
with precise steps and measurements. Take some inspiration from context if availab.e
|
154 |
+
3. Following the above template.
|
155 |
+
4. If context does not match {question} at all, return []
|
156 |
+
|
157 |
+
|
158 |
+
Context: {context}
|
159 |
|
160 |
Question: {question}
|
161 |
"""
|