TheoLvs commited on
Commit
1a96034
β€’
1 Parent(s): f562051

Translation in all languages

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ def chat(
133
  sources = "\n\n".join(
134
  [f"query used for retrieval:\n{reformulated_query}"]
135
  + [
136
- f"πŸ“ƒ doc {i}: {d.meta['file_name']} page {d.meta['page_number']}\n{d.content.replace('\r\n','')}"
137
  for i, d in enumerate(docs, 1)
138
  ]
139
  )
 
133
  sources = "\n\n".join(
134
  [f"query used for retrieval:\n{reformulated_query}"]
135
  + [
136
+ f"""πŸ“ƒ doc {i}: {d.meta['file_name']} page {d.meta['page_number']}\n{d.content.replace("\r\n","")}"""
137
  for i, d in enumerate(docs, 1)
138
  ]
139
  )