diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx index 253a3d6763..1f40b55cc2 100644 --- a/web/app/components/datasets/create/step-two/index.tsx +++ b/web/app/components/datasets/create/step-two/index.tsx @@ -230,7 +230,7 @@ const StepTwo = ({ }, parent_mode: parentChildConfig.chunkForContext, subchunk_segmentation: { - separator: parentChildConfig.child.delimiter, + separator: unescape(parentChildConfig.child.delimiter), max_tokens: parentChildConfig.child.maxLength, }, }, // api will check this. It will be removed after api refactored. @@ -630,7 +630,7 @@ const StepTwo = ({
{t('datasetCreation.stepTwo.rules')}
- +
{rules.map(rule => ( @@ -717,7 +717,7 @@ const StepTwo = ({
{t('datasetCreation.stepTwo.parentChunkForContext')}
- +
} @@ -774,7 +774,7 @@ const StepTwo = ({
{t('datasetCreation.stepTwo.childChunkForRetrieval')}
- +
{t('datasetCreation.stepTwo.rules')}
- +
{rules.map(rule => ( @@ -829,7 +829,7 @@ const StepTwo = ({ title={

{t('datasetCreation.stepTwo.qualified')} {!hasSetIndexType - && {t('datasetCreation.stepTwo.recommend')}} + && {t('datasetCreation.stepTwo.recommend')}} {!hasSetIndexType && }