From 1120f4d09ab33ba57e996f4225634bcbd6595cb4 Mon Sep 17 00:00:00 2001 From: Taylor Wilsdon Date: Wed, 18 Dec 2024 13:32:46 -0500 Subject: [PATCH] npm run format --- .../admin/Settings/Documents.svelte | 438 +++++++++--------- .../chat/MessageInput/InputMenu.svelte | 68 +-- 2 files changed, 255 insertions(+), 251 deletions(-) diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index 5ff48900a..ff580a972 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -190,7 +190,7 @@ content_extraction: { engine: contentExtractionEngine, tika_server_url: tikaServerUrl - }, + } }); await updateQuerySettings(localStorage.token, querySettings); @@ -578,7 +578,7 @@
- {#if showTikaServerUrl} + {#if showTikaServerUrl}
{/if}
- -
+
{$i18n.t('Google Drive')}
@@ -604,251 +603,256 @@
-
+
-
-
{$i18n.t('Query Params')}
+
+
{$i18n.t('Query Params')}
-
-
-
{$i18n.t('Top K')}
- -
- -
-
- - {#if querySettings.hybrid === true} -
-
- {$i18n.t('Minimum Score')} -
+
+
+
{$i18n.t('Top K')}
+ + {#if querySettings.hybrid === true} +
+
+ {$i18n.t('Minimum Score')} +
+ +
+ +
+
+ {/if} +
+ + {#if querySettings.hybrid === true} +
+ {$i18n.t( + 'Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.' + )} +
{/if} -
- {#if querySettings.hybrid === true} -
- {$i18n.t( - 'Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.' - )} -
- {/if} - -
-
{$i18n.t('RAG Template')}
- -