diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index 993cc6553f..4f341de7b0 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -1011,25 +1011,62 @@ {/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} +
+
+ +
+
+ +
+
+ {/if} +
+ {/if} + {/if}
{$i18n.t('RAG Template')}