From 184c15efdc2e83e9ab4da778a5f1e39ce79f7aa2 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Fri, 13 Mar 2026 17:22:02 +0800 Subject: [PATCH] feat: enable parent-child chunking and question generation in KnowledgeBaseEditorModal - Updated configuration to enable parent-child chunking, allowing for more structured content organization. - Activated question generation feature, enhancing the ability to create relevant questions based on the content provided. These changes improve the functionality of the KnowledgeBaseEditorModal, facilitating better content management and interaction. --- frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue b/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue index 8228b9f9..4316de9f 100644 --- a/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue +++ b/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue @@ -343,7 +343,7 @@ const initFormData = (type: 'document' | 'faq' = 'document') => { chunkOverlap: 100, separators: ['\n\n', '\n', '。', '!', '?', ';', ';'], parserEngineRules: undefined as any, - enableParentChild: false, + enableParentChild: true, parentChunkSize: 4096, childChunkSize: 384 }, @@ -367,7 +367,7 @@ const initFormData = (type: 'document' | 'faq' = 'document') => { }> }, questionGenerationConfig: { - enabled: false, + enabled: true, questionCount: 3 }, }