'use client' import React from 'react' import { useTranslation } from 'react-i18next' import EmbeddingProcess from '../embedding-process' import s from './index.module.css' import cn from '@/utils/classnames' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' import type { FullDocumentDetail, createDocumentResponse } from '@/models/datasets' type StepThreeProps = { datasetId?: string datasetName?: string indexingType?: string creationCache?: createDocumentResponse } const StepThree = ({ datasetId, datasetName, indexingType, creationCache }: StepThreeProps) => { const { t } = useTranslation() const media = useBreakpoints() const isMobile = media === MediaType.mobile return (