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')}
- -