Translation in all languages
Browse files
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(
|
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 |
)
|