Update app.py
Browse files
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.
|
|
|
181 |
|
182 |
Question: {question}
|
183 |
|
184 |
-
|
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 |
|