From cd554ebce52a896cf5d8a94c8ab17c6b35db68fa Mon Sep 17 00:00:00 2001
From: _00_ <131402327+rgaricano@users.noreply.github.com>
Date: Mon, 14 Jul 2025 20:19:06 +0200
Subject: [PATCH 2/6] UPD: Add Weight BM25 Hybrid Search string
UPD: Add Weight BM25 Hybrid Search string
to fit with tooltip of new slider in PR: https://github.com/open-webui/open-webui/pull/15705
"The Weight of BM25 Hybrid Search. 0 more lexical, 1 more semantic. Default 0.5"
---
src/lib/i18n/locales/en-US/translation.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json
index 01669336f7..6048b30c3c 100644
--- a/src/lib/i18n/locales/en-US/translation.json
+++ b/src/lib/i18n/locales/en-US/translation.json
@@ -1276,6 +1276,7 @@
"The score should be a value between 0.0 (0%) and 1.0 (100%).": "",
"The temperature of the model. Increasing the temperature will make the model answer more creatively.": "",
"The width in pixels to compress images to. Leave empty for no compression.": "",
+ "The Weight of BM25 Hybrid Search. 0 more lexical, 1 more semantic. Default 0.5",
"Theme": "",
"Thinking...": "",
"This action cannot be undone. Do you wish to continue?": "",
From fd735590da5b54d1f751bc4d552f0bc74a13a98d Mon Sep 17 00:00:00 2001
From: _00_ <131402327+rgaricano@users.noreply.github.com>
Date: Mon, 14 Jul 2025 21:20:11 +0200
Subject: [PATCH 3/6] UPD: Add lexical-semantic reference above slider
Add lexical-semantic reference above slider
---
src/lib/components/admin/Settings/Documents.svelte | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte
index 4f341de7b0..1320725c73 100644
--- a/src/lib/components/admin/Settings/Documents.svelte
+++ b/src/lib/components/admin/Settings/Documents.svelte
@@ -1040,7 +1040,15 @@
{#if (RAGConfig?.HYBRID_BM25_WEIGHT ?? null) !== null}
-
+
+
+ {$i18n.t('lexical')}
+
+
+ {$i18n.t('semantic')}
+
+
+
Date: Mon, 14 Jul 2025 21:23:35 +0200
Subject: [PATCH 4/6] UPD: en-EN locales add lexical, semantic & fix previous
incomplete
en-EN locales add lexical, semantic & fix previous incomplete
---
src/lib/i18n/locales/en-US/translation.json | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json
index 6048b30c3c..8a73b7f999 100644
--- a/src/lib/i18n/locales/en-US/translation.json
+++ b/src/lib/i18n/locales/en-US/translation.json
@@ -811,6 +811,7 @@
"Leave empty to include all models or select specific models": "",
"Leave empty to use the default prompt, or enter a custom prompt": "",
"Leave model field empty to use the default model.": "",
+ "lexical": "",
"License": "",
"Light": "",
"Listening...": "",
@@ -1139,6 +1140,7 @@
"See readme.md for instructions": "",
"See what's new": "",
"Seed": "",
+ "semantic": "",
"Select a base model": "",
"Select a engine": "",
"Select a function": "",
@@ -1276,7 +1278,7 @@
"The score should be a value between 0.0 (0%) and 1.0 (100%).": "",
"The temperature of the model. Increasing the temperature will make the model answer more creatively.": "",
"The width in pixels to compress images to. Leave empty for no compression.": "",
- "The Weight of BM25 Hybrid Search. 0 more lexical, 1 more semantic. Default 0.5",
+ "The Weight of BM25 Hybrid Search. 0 more lexical, 1 more semantic. Default 0.5": "",
"Theme": "",
"Thinking...": "",
"This action cannot be undone. Do you wish to continue?": "",
From 5889e8238ab6e15fe17d1042ca2b6952d88682ca Mon Sep 17 00:00:00 2001
From: _00_ <131402327+rgaricano@users.noreply.github.com>
Date: Mon, 14 Jul 2025 22:17:37 +0200
Subject: [PATCH 5/6] UPD: BM25 Hybrid Slider - Legend inline
BM25 Hybrid Slider - Legend (lexical - semantic) inline
---
src/lib/components/admin/Settings/Documents.svelte | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte
index 1320725c73..4fd66328b1 100644
--- a/src/lib/components/admin/Settings/Documents.svelte
+++ b/src/lib/components/admin/Settings/Documents.svelte
@@ -1049,7 +1049,10 @@
-
+
+ {$i18n.t('lexical')}
+
+
+
+ {$i18n.t('semantic')}
+
Date: Wed, 23 Jul 2025 09:22:48 +0200
Subject: [PATCH 6/6] Update translation.json -Removed added strings
Removed added strings because are innecessary for autogenerating flow.
---
src/lib/i18n/locales/en-US/translation.json | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json
index 8a73b7f999..01669336f7 100644
--- a/src/lib/i18n/locales/en-US/translation.json
+++ b/src/lib/i18n/locales/en-US/translation.json
@@ -811,7 +811,6 @@
"Leave empty to include all models or select specific models": "",
"Leave empty to use the default prompt, or enter a custom prompt": "",
"Leave model field empty to use the default model.": "",
- "lexical": "",
"License": "",
"Light": "",
"Listening...": "",
@@ -1140,7 +1139,6 @@
"See readme.md for instructions": "",
"See what's new": "",
"Seed": "",
- "semantic": "",
"Select a base model": "",
"Select a engine": "",
"Select a function": "",
@@ -1278,7 +1276,6 @@
"The score should be a value between 0.0 (0%) and 1.0 (100%).": "",
"The temperature of the model. Increasing the temperature will make the model answer more creatively.": "",
"The width in pixels to compress images to. Leave empty for no compression.": "",
- "The Weight of BM25 Hybrid Search. 0 more lexical, 1 more semantic. Default 0.5": "",
"Theme": "",
"Thinking...": "",
"This action cannot be undone. Do you wish to continue?": "",