From 8f1563a7a5aad16f02997d85824802586794e1bb Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 27 Apr 2024 15:03:49 -0400 Subject: [PATCH] fix: typo --- backend/apps/rag/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/rag/utils.py b/backend/apps/rag/utils.py index 668f38e46..10ab9bbda 100644 --- a/backend/apps/rag/utils.py +++ b/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)