diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte
index 108c6cb1d..a3a5299bc 100644
--- a/src/lib/components/admin/Settings/Documents.svelte
+++ b/src/lib/components/admin/Settings/Documents.svelte
@@ -645,6 +645,41 @@
{#if RAGConfig.ENABLE_RAG_HYBRID_SEARCH === true}
+
+
+
+ {$i18n.t('Reranking Engine')}
+
+
+
+
+
+
+ {#if RAGConfig.RAG_RERANKING_ENGINE === 'external'}
+
+
+
+
+
+ {/if}
+
+
{$i18n.t('Reranking Model')}
@@ -656,62 +691,64 @@
placeholder={$i18n.t('Set reranking model (e.g. {{model}})', {
model: 'BAAI/bge-reranker-v2-m3'
})}
- bind:value={rerankingModel}
+ bind:value={RAGConfig.RAG_RERANKING_MODEL}
/>
-
+ {/if}
+
+ {/if}