Timothy Jaeryang Baek 1 月之前
父节点
当前提交
609a6a3721
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      backend/open_webui/retrieval/utils.py

+ 1 - 0
backend/open_webui/retrieval/utils.py

@@ -129,6 +129,7 @@ def query_doc_with_hybrid_search(
             return {"documents": [], "metadatas": [], "distances": []}
             return {"documents": [], "metadatas": [], "distances": []}
 
 
         log.debug(f"query_doc_with_hybrid_search:doc {collection_name}")
         log.debug(f"query_doc_with_hybrid_search:doc {collection_name}")
+
         bm25_retriever = BM25Retriever.from_texts(
         bm25_retriever = BM25Retriever.from_texts(
             texts=collection_result.documents[0],
             texts=collection_result.documents[0],
             metadatas=collection_result.metadatas[0],
             metadatas=collection_result.metadatas[0],