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.
This commit is contained in:
@@ -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
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user