{ const res = await deleteAllFiles(localStorage.token).catch((error) => { toast.error(`${error}`); return null; }); if (res) { toast.success($i18n.t('Success')); } }} /> { const res = resetVectorDB(localStorage.token).catch((error) => { toast.error(`${error}`); return null; }); if (res) { toast.success($i18n.t('Success')); } }} /> { const res = await reindexKnowledgeFiles(localStorage.token).catch((error) => { toast.error(`${error}`); return null; }); if (res) { toast.success($i18n.t('Success')); } }} />
{ submitHandler(); }} > {#if RAGConfig}
{$i18n.t('General')}

{$i18n.t('Content Extraction Engine')}
{#if RAGConfig.CONTENT_EXTRACTION_ENGINE === ''}
{$i18n.t('PDF Extract Images (OCR)')}
{:else if RAGConfig.CONTENT_EXTRACTION_ENGINE === 'datalab_marker'}
{$i18n.t('Languages')}
{$i18n.t('Use LLM')}
{$i18n.t('Skip Cache')}
{$i18n.t('Force OCR')}
{$i18n.t('Paginate')}
{$i18n.t('Strip Existing OCR')}
{$i18n.t('Disable Image Extraction')}
{$i18n.t('Output Format')}
{:else if RAGConfig.CONTENT_EXTRACTION_ENGINE === 'external'}
{:else if RAGConfig.CONTENT_EXTRACTION_ENGINE === 'tika'}
{:else if RAGConfig.CONTENT_EXTRACTION_ENGINE === 'docling'}
{$i18n.t('Describe Pictures in Documents')}
{#if RAGConfig.DOCLING_DO_PICTURE_DESCRIPTION}
{$i18n.t('Picture Description Mode')}
{#if RAGConfig.DOCLING_PICTURE_DESCRIPTION_MODE === 'local'}
{$i18n.t('Picture Description Local Config')}