Update app.py
Browse files
app.py
CHANGED
@@ -175,9 +175,9 @@ def create_conversational_rag_chain(retriever):
|
|
175 |
verbose=False,
|
176 |
)
|
177 |
|
178 |
-
template = """Answer the question based only on
|
179 |
-
{context}
|
180 |
-
Question
|
181 |
"""
|
182 |
|
183 |
prompt = ChatPromptTemplate.from_template(template)
|
|
|
175 |
verbose=False,
|
176 |
)
|
177 |
|
178 |
+
template = """Answer the question based only on the following context:
|
179 |
+
{context}
|
180 |
+
Question: {question}
|
181 |
"""
|
182 |
|
183 |
prompt = ChatPromptTemplate.from_template(template)
|