From 737f41dd2e631132228f8c8c8c80ac9c98ddfe34 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 28 Mar 2025 13:18:44 -0700 Subject: [PATCH] refac --- .../admin/Settings/Documents.svelte | 46 +++++++++---------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index 406d1c4f5..5ea12c9c0 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -643,6 +643,12 @@ {/if} + + +
+
{$i18n.t('Retrieval')}
+ +
{$i18n.t('Full Context Mode')}
@@ -746,14 +752,6 @@
{/if} - {/if} - - - {#if !RAG_FULL_CONTEXT} -
-
{$i18n.t('Retrieval')}
- -
{$i18n.t('Top K')}
@@ -811,28 +809,26 @@
{/if} + {/if} -
-
{$i18n.t('RAG Template')}
-
- +
{$i18n.t('RAG Template')}
+
+ +