From 985e54b6622e193c72448bb6a32fb57e92f21fa6 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 4 Aug 2025 17:51:22 +0400 Subject: [PATCH] refac: styling --- .../admin/Settings/Documents.svelte | 130 +++++++++--------- 1 file changed, 64 insertions(+), 66 deletions(-) diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index b1947d817c..9600f1d1a8 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -1059,76 +1059,74 @@ {/if} {#if RAGConfig.ENABLE_RAG_HYBRID_SEARCH === true} -
- -
-
- {$i18n.t('Weight of BM25 Retrieval')} -
- -
-
- - {#if (RAGConfig?.HYBRID_BM25_WEIGHT ?? null) !== null} +
+
-
- {$i18n.t('lexical')} +
+ {$i18n.t('BM25 Weight')}
-
- {$i18n.t('semantic')} + +
+ + + {#if (RAGConfig?.HYBRID_BM25_WEIGHT ?? null) !== null} +
+
+ + +
+
+
+ {$i18n.t('lexical')} +
+
+ {$i18n.t('semantic')} +
+
+
+
+
+
-
-
- {$i18n.t('lexical')} -
-
- -
-
- {$i18n.t('semantic')} -
-
- -
-
- {/if} -
- {/if} - {/if} + {/if} +
+ {/if} + {/if}
{$i18n.t('RAG Template')}