mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
Satisfy github format check
This commit is contained in:
parent
94d9d3d590
commit
7531b7dcaa
5 changed files with 5 additions and 7 deletions
|
|
@ -174,9 +174,7 @@ def merge_get_results(get_results: list[dict]) -> dict:
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def merge_and_sort_query_results(
|
def merge_and_sort_query_results(query_results: list[dict], k: int) -> dict:
|
||||||
query_results: list[dict], k: int
|
|
||||||
) -> dict:
|
|
||||||
# Initialize lists to store combined data
|
# Initialize lists to store combined data
|
||||||
combined = dict() # To store documents with unique document hashes
|
combined = dict() # To store documents with unique document hashes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue