Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: Remove redundant parameters from the Go-version knowledge base configuration page. (#19668)

balibabu434bb001b2f9
diff --git a/web/src/pages/dataset/setting/go/form-schema.ts b/web/src/pages/dataset/setting/go/form-schema.ts
index c11de02c93..d9b9552adb 100644
--- a/web/src/pages/dataset/setting/go/form-schema.ts
+++ b/web/src/pages/dataset/setting/go/form-schema.ts
@@ -8,8 +8,6 @@ export const formSchema = z
.object({
parse_type: z.nativeEnum(ParseType).optional(),
pipeline_id: z.string().optional(),
- pipeline_name: z.string().optional(),
- pipeline_avatar: z.string().optional(),
name: z.string().min(1, {
message: 'Username must be at least 2 characters.',
}),
diff --git a/web/src/pages/dataset/setting/go/hooks.ts b/web/src/pages/dataset/setting/go/hooks.ts
index 9fe84da872..0dd82da2d2 100644
--- a/web/src/pages/dataset/setting/go/hooks.ts
+++ b/web/src/pages/dataset/setting/go/hooks.ts
@@ -83,8 +83,6 @@ export const useFetchDatasetSettingOnMount = (
'pagerank',
'avatar',
'pipeline_id',
- 'pipeline_name',
- 'pipeline_avatar',
'parser_id',
]),
embedding_model: knowledgeDetails.embedding_model,
diff --git a/web/src/pages/dataset/setting/go/index.tsx b/web/src/pages/dataset/setting/go/index.tsx
index 6154beea98..4cee59cc79 100644
--- a/web/src/pages/dataset/setting/go/index.tsx
+++ b/web/src/pages/dataset/setting/go/index.tsx
@@ -47,8 +47,6 @@ export default function DatasetSetting() {
defaultValues: {
parse_type: ParseType.BuiltIn,
pipeline_id: '',
- pipeline_name: '',
- pipeline_avatar: '',
parser_id: '',
parser_config: {},
name: '',
@@ -136,8 +134,6 @@ export default function DatasetSetting() {
useEffect(() => {
if (parseType === ParseType.BuiltIn) {
form.setValue('pipeline_id', '');
- form.setValue('pipeline_name', '');
- form.setValue('pipeline_avatar', '');
}
}, [parseType, form]);