mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
Return the top k results with the highest similarity.
This commit is contained in:
parent
1dfb479d36
commit
91f22a8a8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue