fehmikaya commited on
Commit
3d73af2
·
verified ·
1 Parent(s): 0abfc21

Update ragagent.py

Browse files
Files changed (1) hide show
  1. 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: {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
  )