Update app.py
Browse files
app.py
CHANGED
@@ -128,10 +128,10 @@ def create_conversational_rag_chain(retriever):
|
|
128 |
verbose=False,
|
129 |
)
|
130 |
|
131 |
-
template = """Answer the question based only on the following context:
|
132 |
-
{context}
|
133 |
|
134 |
-
|
135 |
"""
|
136 |
prompt = ChatPromptTemplate.from_template(template)
|
137 |
|
|
|
128 |
verbose=False,
|
129 |
)
|
130 |
|
131 |
+
template = """Answer the question: {question} based only on the following context:
|
132 |
+
{context}. If you dont know the answer say "I dont know the answer, provide for me more context"
|
133 |
|
134 |
+
|
135 |
"""
|
136 |
prompt = ChatPromptTemplate.from_template(template)
|
137 |
|