import type { FC } from 'react' import { memo } from 'react' import { useTranslation } from 'react-i18next' import type { KnowledgeBaseNodeType } from './types' import type { NodeProps } from '@/app/components/workflow/types' const Node: FC> = ({ data }) => { const { t } = useTranslation() return (
{t('datasetCreation.stepTwo.indexMode')}
{data.indexing_technique}
{t('datasetSettings.form.retrievalSetting.title')}
{data.retrieval_model.search_method}
) } export default memo(Node)