소스 검색

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)