Feat: Add tag_kwd parameter to chunk configuration modal #4368 (#4414)

### What problem does this PR solve?

Feat: Add tag_kwd parameter to chunk configuration modal  #4368

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-01-08 19:45:34 +08:00
committed by GitHub
parent 3d66d78304
commit af43cb04e8
13 changed files with 204 additions and 13 deletions

View File

@ -11,6 +11,7 @@ import MaxTokenNumber from '@/components/max-token-number';
import PageRank from '@/components/page-rank';
import ParseConfiguration, {
showRaptorParseConfiguration,
showTagItems,
} from '@/components/parse-configuration';
import { useTranslate } from '@/hooks/common-hooks';
import { useHandleChunkMethodSelectChange } from '@/hooks/logic-hooks';
@ -23,6 +24,7 @@ import {
useSubmitKnowledgeConfiguration,
} from './hooks';
import styles from './index.less';
import { TagItems } from './tag-item';
const { Option } = Select;
@ -146,6 +148,8 @@ const ConfigurationForm = ({ form }: { form: FormInstance }) => {
{showRaptorParseConfiguration(parserId) && (
<ParseConfiguration></ParseConfiguration>
)}
{showTagItems(parserId) && <TagItems></TagItems>}
</>
);
}}