Spaces:
Sleeping
Sleeping
template prompt update
Browse files
Rag.py
CHANGED
|
@@ -205,6 +205,7 @@ parser = StrOutputParser()
|
|
| 205 |
|
| 206 |
template = """Use the following pieces of context to answer the question at the end.
|
| 207 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
|
|
|
| 208 |
Use three sentences maximum and keep the answer as concise as possible.
|
| 209 |
Always say "thanks for asking!" at the end of the answer.
|
| 210 |
|
|
|
|
| 205 |
|
| 206 |
template = """Use the following pieces of context to answer the question at the end.
|
| 207 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
| 208 |
+
Only answer the question from the context don't provide additional context from the model.
|
| 209 |
Use three sentences maximum and keep the answer as concise as possible.
|
| 210 |
Always say "thanks for asking!" at the end of the answer.
|
| 211 |
|