'use client' import React from 'react' import { useTranslation } from 'react-i18next' import { RiBookOpenLine } from '@remixicon/react' import EmbeddingProcess from '../embedding-process' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' import type { FullDocumentDetail, createDocumentResponse } from '@/models/datasets' import AppIcon from '@/app/components/base/app-icon' type StepThreeProps = { datasetId?: string datasetName?: string indexingType?: string retrievalMethod?: string creationCache?: createDocumentResponse } const StepThree = ({ datasetId, datasetName, indexingType, creationCache, retrievalMethod }: StepThreeProps) => { const { t } = useTranslation() const media = useBreakpoints() const isMobile = media === MediaType.mobile return (