mirror of
https://github.com/open-webui/open-webui
synced 2025-01-19 17:26:33 +00:00
Merge pull request #8379 from qiaozhi199/main
Fix the issue of inaccurate answers after enabling RAG query generation
This commit is contained in:
commit
0e7c3d4eb8
@ -199,7 +199,7 @@ def query_collection(
|
|||||||
else:
|
else:
|
||||||
pass
|
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(
|
def query_collection_with_hybrid_search(
|
||||||
|
Loading…
Reference in New Issue
Block a user