diff --git a/web/app/components/datasets/create/embedding-process/index.tsx b/web/app/components/datasets/create/embedding-process/index.tsx index 0cea26712e..f15091832e 100644 --- a/web/app/components/datasets/create/embedding-process/index.tsx +++ b/web/app/components/datasets/create/embedding-process/index.tsx @@ -20,6 +20,8 @@ import { Plan } from '@/app/components/billing/type' import { ZapFast } from '@/app/components/base/icons/src/vender/solid/general' import UpgradeBtn from '@/app/components/billing/upgrade-btn' import { useProviderContext } from '@/context/provider-context' +import TooltipPlus from '@/app/components/base/tooltip-plus' +import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' type Props = { datasetId: string @@ -243,8 +245,22 @@ const EmbeddingProcess: FC = ({ datasetId, batchId, documents = [], index {isSourceEmbedding(indexingStatusDetail) && (
{`${getSourcePercent(indexingStatusDetail)}%`}
)} - {indexingStatusDetail.indexing_status === 'error' && ( -
Error
+ {indexingStatusDetail.indexing_status === 'error' && indexingStatusDetail.error && ( + + {indexingStatusDetail.error} + + )}> +
+ Error + +
+
+ )} + {indexingStatusDetail.indexing_status === 'error' && !indexingStatusDetail.error && ( +
+ Error +
)} {indexingStatusDetail.indexing_status === 'completed' && (
100%