mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
85153afda8
commit
609a6a3721
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ def query_doc_with_hybrid_search(
|
|||
return {"documents": [], "metadatas": [], "distances": []}
|
||||
|
||||
log.debug(f"query_doc_with_hybrid_search:doc {collection_name}")
|
||||
|
||||
bm25_retriever = BM25Retriever.from_texts(
|
||||
texts=collection_result.documents[0],
|
||||
metadatas=collection_result.metadatas[0],
|
||||
|
|
|
|||
Loading…
Reference in a new issue