diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index cdf032de24..b1947d817c 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -1059,25 +1059,76 @@ {/if} {#if RAGConfig.ENABLE_RAG_HYBRID_SEARCH === true} -
-
- {$i18n.t('Weight of BM25 Retrieval')} -
-
- -
-
- {/if} - {/if} +
+ +
+
+ {$i18n.t('Weight of BM25 Retrieval')} +
+ +
+
+ + {#if (RAGConfig?.HYBRID_BM25_WEIGHT ?? null) !== null} +
+
+ {$i18n.t('lexical')} +
+
+ {$i18n.t('semantic')} +
+
+
+
+ {$i18n.t('lexical')} +
+
+ +
+
+ {$i18n.t('semantic')} +
+
+ +
+
+ {/if} +
+ {/if} + {/if}
{$i18n.t('RAG Template')}