Return the top k results with the highest similarity.

This commit is contained in:
zhiguo.qiao committed 2025-01-07 17:41:30 +08:00
1 parent 1dfb479d36
commit 91f22a8a8d
1 file changed
+1 -1
+1 -1
View File
@@ -199,7 +199,7 @@ def query_collection(
else:
pass
return merge_and_sort_query_results(results, k=k)
return merge_and_sort_query_results(results, k=k, reverse=True)
def query_collection_with_hybrid_search(