melk2025 commited on
Commit
0764002
·
verified ·
1 Parent(s): b4e231d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -150,8 +150,9 @@ def retrieve_from_rag(user_query, chat_history):
150
  documents.append({
151
  "content": content.strip(),
152
  "metadata": metadata
153
- print(metadata)
154
  })
 
155
 
156
  # Rerank with BM25
157
  top_docs = rerank_with_bm25(documents, user_query)
 
150
  documents.append({
151
  "content": content.strip(),
152
  "metadata": metadata
153
+
154
  })
155
+ print(metadata)
156
 
157
  # Rerank with BM25
158
  top_docs = rerank_with_bm25(documents, user_query)