|
|
|
@ -666,7 +666,7 @@ const StepTwo = ({
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div className='space-y-4'>
|
|
|
|
<div className='space-y-4'>
|
|
|
|
<div className='flex gap-2'>
|
|
|
|
<div className='flex gap-3'>
|
|
|
|
<DelimiterInput
|
|
|
|
<DelimiterInput
|
|
|
|
value={segmentIdentifier}
|
|
|
|
value={segmentIdentifier}
|
|
|
|
onChange={e => setSegmentIdentifier(e.target.value)}
|
|
|
|
onChange={e => setSegmentIdentifier(e.target.value)}
|
|
|
|
@ -775,11 +775,11 @@ const StepTwo = ({
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className='space-y-2'>
|
|
|
|
<div className='space-y-4'>
|
|
|
|
<TextLabel>
|
|
|
|
<TextLabel>
|
|
|
|
{t('datasetCreation.stepTwo.childChunkForRetrieval')}
|
|
|
|
{t('datasetCreation.stepTwo.childChunkForRetrieval')}
|
|
|
|
</TextLabel>
|
|
|
|
</TextLabel>
|
|
|
|
<div className='flex gap-2 mt-2'>
|
|
|
|
<div className='flex gap-3 mt-2'>
|
|
|
|
<DelimiterInput
|
|
|
|
<DelimiterInput
|
|
|
|
value={parentChildConfig.child.delimiter}
|
|
|
|
value={parentChildConfig.child.delimiter}
|
|
|
|
onChange={e => setParentChildConfig({
|
|
|
|
onChange={e => setParentChildConfig({
|
|
|
|
@ -803,10 +803,11 @@ const StepTwo = ({
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className='space-y-2'>
|
|
|
|
<TextLabel>
|
|
|
|
<TextLabel>
|
|
|
|
{t('datasetCreation.stepTwo.rules')}
|
|
|
|
{t('datasetCreation.stepTwo.rules')}
|
|
|
|
</TextLabel>
|
|
|
|
</TextLabel>
|
|
|
|
<div className='space-y-2'>
|
|
|
|
<div className='space-y-2 mt-2'>
|
|
|
|
{rules.map(rule => (
|
|
|
|
{rules.map(rule => (
|
|
|
|
<div key={rule.id} className={s.ruleItem} onClick={() => {
|
|
|
|
<div key={rule.id} className={s.ruleItem} onClick={() => {
|
|
|
|
ruleChangeHandle(rule.id)
|
|
|
|
ruleChangeHandle(rule.id)
|
|
|
|
@ -820,6 +821,7 @@ const StepTwo = ({
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</OptionCard>
|
|
|
|
</OptionCard>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|