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.main
parent
56fa1d8df6
commit
5f6f223204
|
|
@ -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
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue