Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,12 +29,11 @@ template = """Answer the question based only on the following context:
|
|
| 29 |
|
| 30 |
Question: {question}
|
| 31 |
|
| 32 |
-
Answer the question in a clear
|
| 33 |
|
| 34 |
Make sure to:
|
| 35 |
1. Only use information from the provided context
|
| 36 |
-
2.
|
| 37 |
-
3. If you're unsure, acknowledge it
|
| 38 |
"""
|
| 39 |
|
| 40 |
prompt = PromptTemplate.from_template(template)
|
|
|
|
| 29 |
|
| 30 |
Question: {question}
|
| 31 |
|
| 32 |
+
Answer the question in a clear way. If you cannot find the answer in the context, just say "I don't have enough information to answer this question."
|
| 33 |
|
| 34 |
Make sure to:
|
| 35 |
1. Only use information from the provided context
|
| 36 |
+
2. If you're unsure, acknowledge it
|
|
|
|
| 37 |
"""
|
| 38 |
|
| 39 |
prompt = PromptTemplate.from_template(template)
|