This commit is contained in:
Timothy Jaeryang Baek 2025-03-28 13:17:43 -07:00
parent 0413c747a9
commit 402d32ccfd

View File

@ -749,6 +749,7 @@
{/if}
</div>
{#if !RAG_FULL_CONTEXT}
<div class="mb-3">
<div class=" mb-2.5 text-base font-medium">{$i18n.t('Retrieval')}</div>
@ -797,7 +798,9 @@
bind:value={querySettings.r}
autocomplete="off"
min="0.0"
title={$i18n.t('The score should be a value between 0.0 (0%) and 1.0 (100%).')}
title={$i18n.t(
'The score should be a value between 0.0 (0%) and 1.0 (100%).'
)}
/>
</div>
</div>
@ -813,7 +816,9 @@
<div class=" mb-1 text-xs font-medium">{$i18n.t('RAG Template')}</div>
<div class="flex w-full items-center relative">
<Tooltip
content={$i18n.t('Leave empty to use the default prompt, or enter a custom prompt')}
content={$i18n.t(
'Leave empty to use the default prompt, or enter a custom prompt'
)}
placement="top-start"
className="w-full"
>
@ -828,6 +833,7 @@
</div>
</div>
{/if}
{/if}
<div class="mb-3">
<div class=" mb-2.5 text-base font-medium">{$i18n.t('Files')}</div>