Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

feat: enable parent-child chunking and question generation in KnowledgeBaseEditorModal

wizardchen184c15efdc2e
diff --git a/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue b/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue
index 8228b9f9b..4316de9f7 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
},
}