Fix: When creating a dataset, if no chunk_method is selected, there is no indication that this is a required field. (#14039)

### What problem does this PR solve?
Fix: When creating a dataset, if no `chunk_method` is selected, there is
no indication that this is a required field.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2026-04-10 19:05:14 +08:00
committed by GitHub
parent 82d74fd276
commit 462be53b76
14 changed files with 93 additions and 205 deletions

View File

@@ -1,5 +1,6 @@
import { useHandleFilterSubmit } from '@/components/list-filter-bar/use-handle-filter-submit';
import message from '@/components/ui/message';
import { ParseType } from '@/constants/knowledge';
import { ResponsePostType } from '@/interfaces/database/base';
import {
IKnowledge,
@@ -208,7 +209,7 @@ export const useCreateKnowledge = () => {
name: string;
embedding_model?: string;
chunk_method?: string;
parseType?: number;
parseType?: ParseType;
pipeline_id?: string | null;
ext?: {
language?: string;