mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-01 05:23:47 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user