Skip to content

Generalize ENABLE_RAG_HYBRID_SEARCH description#1269

Merged
Classic298 merged 3 commits into
open-webui:devfrom
thatrobotdev:fix-hybrid-search-description
May 28, 2026
Merged

Generalize ENABLE_RAG_HYBRID_SEARCH description#1269
Classic298 merged 3 commits into
open-webui:devfrom
thatrobotdev:fix-hybrid-search-description

Conversation

@thatrobotdev
Copy link
Copy Markdown
Contributor

Updates the ENV configuration description for ENABLE_RAG_HYBRID_SEARCH:

  • Change "ensemble search" to "hybrid search" to match env variable name
  • Generalize "ChromaDB" to "configured vector store" since hybrid search is not ChromaDB specific
  • Generalize sentence_transformers since hybrid search works on more than just the default sentence_transformers models.
  • Since reranking is optional (the code passes reranking_function=None when RERANKING_FUNCTION isn't configured), and it can be any encoder (not just sentence_transformers, generalizes reference.

Relevant code

https://github.com/open-webui/open-webui/blob/3660bc00fd807deced3400a63bfa6db47811a3bb/backend/open_webui/retrieval/utils.py#L527-L552

Turrabo and others added 3 commits May 25, 2026 08:23
Adds user_prompt, system_prompt, sources to the __metadata__ example.
Expands __event_emitter__ to cover custom type forwarding through socket.io.
…-and-event-emitter-fields

fix: add __metadata__ fields and __event_emitter__ custom types
Updates the ENV configuration description for `ENABLE_RAG_HYBRID_SEARCH`:
- Change "ensemble search" to "hybrid search" to match env variable name
- Generalize "ChromaDB" to "configured vector store" since hybrid search is not ChromaDB specific
- Generalize `sentence_transformers` since hybrid search works on more than just the default `sentence_transformers` models.
- Since reranking is optional (the code passes `reranking_function=None` when `RERANKING_FUNCTION` isn't configured), and it can be any encoder (not just `sentence_transformers`, generalizes reference.
@Classic298 Classic298 changed the base branch from main to dev May 28, 2026 20:26
@Classic298
Copy link
Copy Markdown
Collaborator

lgtm

@Classic298 Classic298 merged commit 995b285 into open-webui:dev May 28, 2026
1 check passed
@thatrobotdev thatrobotdev deleted the fix-hybrid-search-description branch May 29, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants