[PR #15705] [MERGED] FEAT: STYLE: Frontend HybridSearch-BM25 Slider #111229

Closed
opened 2026-05-18 11:00:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/15705
Author: @rgaricano
Created: 7/14/2025
Status: Merged
Merged: 8/4/2025
Merged by: @tjbck

Base: devHead: dev-HybridSearch-bm25_slider


📝 Commits (6)

  • 4a6d333 FEAT: Frontend HybridSearch-BM25 Slider
  • cd554eb UPD: Add Weight BM25 Hybrid Search string
  • fd73559 UPD: Add lexical-semantic reference above slider
  • 3345514 UPD: en-EN locales add lexical, semantic & fix previous incomplete
  • 5889e82 UPD: BM25 Hybrid Slider - Legend inline
  • fc9d19e Update translation.json -Removed added strings

📊 Changes

1 file changed (+70 additions, -19 deletions)

View changed files

📝 src/lib/components/admin/Settings/Documents.svelte (+70 -19)

📄 Description

FEAT: Frontend HybridSearch-BM25 Slider

Description

Front-end modification for the BM25-Weight parameter input.

  • This proposal modifies the numerical typed input to a slider similar to the advanced model parameters. Giving a more comprehensive understanding of the parameter function.

Added

  • Default/Custum button with slider/numerical input for BM25-Weight parameter.
  • i18n en-EN locale strings:
    • tooltip: "The Weight of BM25 Hybrid Search. 0 more lexical, 1 more semantic. Default 0.5"
    • legend: "lexical" & "semantic"

Changed

Replacement of previous numerical value input.

Additional Information

@silentoplayz has suggested to me that it should be white for consistency purposes:
openwebui_hyb_slider3

but I didn't find the style & I'm not the best with css.

Screenshots or Videos

openwebui_hyb_slider0
openwebui_hyb_slider4
openwebui_hyb_slider5


Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/15705 **Author:** [@rgaricano](https://github.com/rgaricano) **Created:** 7/14/2025 **Status:** ✅ Merged **Merged:** 8/4/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev-HybridSearch-bm25_slider` --- ### 📝 Commits (6) - [`4a6d333`](https://github.com/open-webui/open-webui/commit/4a6d333a032130a7a84acfbbc959360f18b83825) FEAT: Frontend HybridSearch-BM25 Slider - [`cd554eb`](https://github.com/open-webui/open-webui/commit/cd554ebce52a896cf5d8a94c8ab17c6b35db68fa) UPD: Add Weight BM25 Hybrid Search string - [`fd73559`](https://github.com/open-webui/open-webui/commit/fd735590da5b54d1f751bc4d552f0bc74a13a98d) UPD: Add lexical-semantic reference above slider - [`3345514`](https://github.com/open-webui/open-webui/commit/3345514efc46eb4d5e2d6d09b7ce8051c2448c55) UPD: en-EN locales add lexical, semantic & fix previous incomplete - [`5889e82`](https://github.com/open-webui/open-webui/commit/5889e8238ab6e15fe17d1042ca2b6952d88682ca) UPD: BM25 Hybrid Slider - Legend inline - [`fc9d19e`](https://github.com/open-webui/open-webui/commit/fc9d19e8144ebce15973fc8dd4bbeaca3f06fbc1) Update translation.json -Removed added strings ### 📊 Changes **1 file changed** (+70 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/admin/Settings/Documents.svelte` (+70 -19) </details> ### 📄 Description ## FEAT: Frontend HybridSearch-BM25 Slider ### Description ### Front-end modification for the BM25-Weight parameter input. - This proposal modifies the numerical typed input to a slider similar to the advanced model parameters. Giving a more comprehensive understanding of the parameter function. ### Added - Default/Custum button with slider/numerical input for BM25-Weight parameter. - i18n en-EN locale strings: - tooltip: "The Weight of BM25 Hybrid Search. 0 more lexical, 1 more semantic. Default 0.5" - legend: "lexical" & "semantic" ### Changed Replacement of previous numerical value input. ### Additional Information @silentoplayz has suggested to me that it should be white for consistency purposes: ![openwebui_hyb_slider3](https://github.com/user-attachments/assets/a58d7862-ad62-41c2-baaa-1d6d09ccbaa2) but I didn't find the style & I'm not the best with css. ### Screenshots or Videos ![openwebui_hyb_slider0](https://github.com/user-attachments/assets/b65d4117-2b88-486b-9aaa-1a014ce8bef9) ![openwebui_hyb_slider4](https://github.com/user-attachments/assets/2b03c334-ddaf-43f4-8194-3281b244f03f) ![openwebui_hyb_slider5](https://github.com/user-attachments/assets/576286f1-f776-41f7-a0e2-e0c34c9d5238) _____ ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 11:00:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#111229