Timothy J. Baek 1 vuosi sitten
vanhempi
commit
8f1563a7a5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)