Spaces:
Build error
Build error
Update ragagent.py
Browse files- ragagent.py +1 -1
ragagent.py
CHANGED
|
@@ -49,7 +49,7 @@ class RAGAgent():
|
|
| 49 |
Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know.
|
| 50 |
Use three sentences maximum and keep the answer concise <|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 51 |
Question: {question}
|
| 52 |
-
Context: {
|
| 53 |
Answer: <|eot_id|><|start_header_id|>assistant<|end_header_id|>""",
|
| 54 |
input_variables=["question", "document"],
|
| 55 |
)
|
|
|
|
| 49 |
Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know.
|
| 50 |
Use three sentences maximum and keep the answer concise <|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 51 |
Question: {question}
|
| 52 |
+
Context: {document}
|
| 53 |
Answer: <|eot_id|><|start_header_id|>assistant<|end_header_id|>""",
|
| 54 |
input_variables=["question", "document"],
|
| 55 |
)
|