feat: Add delimiter field to naive parsing method #1909 (#1911)

### What problem does this PR solve?

feat: Add delimiter field to naive parsing method #1909
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-12 15:53:25 +08:00
committed by GitHub
parent ad48e8d915
commit 6baba54e9e
6 changed files with 46 additions and 1 deletions

View File

@ -22,6 +22,7 @@ import React, { useEffect, useMemo } from 'react';
import { useFetchParserListOnMount } from './hooks';
import { useTranslate } from '@/hooks/common-hooks';
import Delimiter from '../delimiter';
import EntityTypesItem from '../entity-types-item';
import LayoutRecognize from '../layout-recognize';
import ParseConfiguration, {
@ -268,7 +269,12 @@ const ChunkMethodModal: React.FC<IProps> = ({
}
</Form.Item>
)}
{showMaxTokenNumber && <MaxTokenNumber></MaxTokenNumber>}
{showMaxTokenNumber && (
<>
<MaxTokenNumber></MaxTokenNumber>
<Delimiter></Delimiter>
</>
)}
{showRaptorParseConfiguration(selectedTag) && (
<ParseConfiguration></ParseConfiguration>
)}