瀏覽代碼

fix: typo

Timothy J. Baek 1 年之前
父節點
當前提交
8f1563a7a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/apps/rag/utils.py

+ 1 - 1
backend/apps/rag/utils.py

@@ -154,7 +154,7 @@ def query_embeddings_collection(
         except:
             pass
 
-    reverse = hybrid and reranking_function is not None
+    reverse = hybrid_search and reranking_function is not None
     return merge_and_sort_query_results(results, k=k, reverse=reverse)