feat: implement chunk structure card and related hooks for dataset creation; update translations and refactor pipeline template fetching

This commit is contained in:
twwu
2025-06-11 16:38:42 +08:00
parent 45c76c1d68
commit f995436eec
15 changed files with 190 additions and 45 deletions

View File

@ -41,7 +41,7 @@ export const useChunkStructure = () => {
id: ChunkStructureEnum.question_answer,
icon: <QuestionAndAnswer className='h-[18px] w-[18px] text-text-tertiary' />,
title: 'Question-Answer',
description: 'Question-answer text chunking mode, the chunks retrieved and recalled are different.',
description: t('datasetCreation.stepTwo.qaTip'),
}
const optionMap: Record<ChunkStructureEnum, Option> = {