mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #11814] [CLOSED] perf: Parallelize search_query in query_collection_with_hybrid_search and vector db data retrieval #9592
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11814
Author: @Phlogi
Created: 3/18/2025
Status: ❌ Closed
Base:
dev← Head:patch-dev-01📝 Commits (10+)
125a4faImprove performance of hybrid searchdd74d41re-add commentsea5dda7Manual rebase to devd109ee8Use set() instead of dict and remove unnecessary code.a969d6eRefactor non-reverse sorting for chroma into one place only1639283Remove wrong argument k_reranker9311971Remove over-optimized retriever parallism2b21da7Remove unsuitable comment90df6c9Remove overoptimized initializationdaddd61Merge branch 'dev' into patch-dev-01📊 Changes
1 file changed (+87 additions, -58 deletions)
View changed files
📝
backend/open_webui/retrieval/utils.py(+87 -58)📄 Description
Before submitting, make sure you've checked the following:
Link to discussion opened before PR: https://github.com/open-webui/open-webui/discussions/11729
Target branch: Please verify that the pull request targets the
devbranch.Description: Provide a concise description of the changes made in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests for validating the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following
Changelog Entry
Description
Changed
Function query_doc_with_hybrid_search updates:
Refactoring of the Chroma sorting exception
Function merge_and_sort_query_results Enhancements:
Removed
Additional Information
Testing
The following manual tests were performed:
Querying...
Queries used, verification:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.