Spaces:
Sleeping
Sleeping
tonyliu404
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,8 @@ Context: {context}
|
|
147 |
|
148 |
When choosing a recipe from the context, FOLLOW these instructions:
|
149 |
1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
|
150 |
-
2. If the recipes from the context do not match {question}, generate an amazing recipe for {question} following the above template.
|
|
|
151 |
|
152 |
Question: {question}
|
153 |
"""
|
|
|
147 |
|
148 |
When choosing a recipe from the context, FOLLOW these instructions:
|
149 |
1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
|
150 |
+
2. If the recipes from the context makes sense but do not match {question}, generate an amazing recipe for {question} following the above template.
|
151 |
+
3. If context does not match {question} at all, return []
|
152 |
|
153 |
Question: {question}
|
154 |
"""
|