{ 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('Additional Config')}