MikeMann commited on
Commit
b7263ab
·
1 Parent(s): 358265f

added Hybrid Search with BM25

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -270,7 +270,7 @@ class BSIChatbot:
270
  all_documents = []
271
 
272
  # Iteriere über alle IDs im index_to_docstore_id
273
- for doc_id in vector_store.index_to_docstore_id.values():
274
  # Hole das Dokument aus dem docstore
275
  document = vector_store.docstore[doc_id]
276
  all_documents.append(document)
 
270
  all_documents = []
271
 
272
  # Iteriere über alle IDs im index_to_docstore_id
273
+ for doc_id in vectorstore.index_to_docstore_id.values():
274
  # Hole das Dokument aus dem docstore
275
  document = vector_store.docstore[doc_id]
276
  all_documents.append(document)