ArturG9 commited on
Commit
a33b601
·
verified ·
1 Parent(s): a34af5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -177,12 +177,12 @@ def create_conversational_rag_chain(retriever):
177
  verbose=False,
178
  )
179
 
180
- template = """You are an assistant for question-answering tasks. 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. Use three sentences maximum and keep the answer concise.
 
181
 
182
  Question: {question}
183
 
184
- Context: {context}
185
-
186
  Answer:
187
  """
188
 
 
177
  verbose=False,
178
  )
179
 
180
+ template = """You are an assistant for question-answering tasks. Answer the question based only on the following context:
181
+ {context} . Use five sentences maximum and keep the answer concise.
182
 
183
  Question: {question}
184
 
185
+
 
186
  Answer:
187
  """
188