This commit is contained in:
Timothy Jaeryang Baek
2026-06-29 13:39:08 -05:00
parent 09a1c3a948
commit 89709f5f80
6 changed files with 50 additions and 0 deletions
@@ -760,6 +760,19 @@
bind:value={RAGConfig.MISTRAL_OCR_API_KEY}
/>
</div>
<div class="flex justify-between w-full mt-2 pr-2">
<div class="self-center text-xs font-medium">
<Tooltip
content={$i18n.t('Send the PDF as a base64 data URL instead of uploading it first.')}
placement="top-start"
>
{$i18n.t('Use Base64')}
</Tooltip>
</div>
<div class="flex items-center">
<Switch bind:state={RAGConfig.MISTRAL_OCR_USE_BASE64} />
</div>
</div>
{:else if RAGConfig.CONTENT_EXTRACTION_ENGINE === 'paddleocr_vl'}
<div class="my-0.5 flex gap-2 pr-2">
<input