ArturG9 commited on
Commit
ab6c0e8
·
verified ·
1 Parent(s): 2d0cf9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -174,7 +174,7 @@ def create_conversational_rag_chain(retriever):
174
  verbose=False,
175
  )
176
 
177
- template = """Given the context (format: dictionary) and question, provide a comprehensive answer in natural language that addresses the question directly.
178
 
179
  The context contains documents with a 'page_content' field and potentially other metadata. Focus on the 'page_content' field for information retrieval.
180
 
@@ -182,9 +182,9 @@ def create_conversational_rag_chain(retriever):
182
 
183
  In the answer use only English language. DO NOT ASK more questions by yourself!
184
 
185
- Question: {question}
186
 
187
- Context: {context}
188
 
189
  Answer:
190
  """
 
174
  verbose=False,
175
  )
176
 
177
+ template = """Given the question and context, provide a comprehensive answer in natural language that addresses the question directly.
178
 
179
  The context contains documents with a 'page_content' field and potentially other metadata. Focus on the 'page_content' field for information retrieval.
180
 
 
182
 
183
  In the answer use only English language. DO NOT ASK more questions by yourself!
184
 
185
+ question: {question}
186
 
187
+ context: {context}
188
 
189
  Answer:
190
  """