added Hybrid Search with BM25
Browse files- app.py +2 -2
- requirements.txt +1 -0
app.py
CHANGED
@@ -280,8 +280,8 @@ class BSIChatbot:
|
|
280 |
#print("DBG:"+doc_id)
|
281 |
#document = vectorstore.get_by_ids(doc_id)
|
282 |
#document bleibt leer.. Warum???
|
283 |
-
print("DBG: DOC")
|
284 |
-
print(entry)
|
285 |
all_documents.append(entry)
|
286 |
|
287 |
#print("DBG Document1:")
|
|
|
280 |
#print("DBG:"+doc_id)
|
281 |
#document = vectorstore.get_by_ids(doc_id)
|
282 |
#document bleibt leer.. Warum???
|
283 |
+
#print("DBG: DOC")
|
284 |
+
#print(entry)
|
285 |
all_documents.append(entry)
|
286 |
|
287 |
#print("DBG Document1:")
|
requirements.txt
CHANGED
@@ -126,6 +126,7 @@ python-multipart
|
|
126 |
pytz
|
127 |
PyYAML
|
128 |
RAGatouille
|
|
|
129 |
regex
|
130 |
requests
|
131 |
rich
|
|
|
126 |
pytz
|
127 |
PyYAML
|
128 |
RAGatouille
|
129 |
+
rank_bm25
|
130 |
regex
|
131 |
requests
|
132 |
rich
|