AWS::Wisdom::KnowledgeBase HierarchicalChunkingConfiguration
Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "LevelConfigurations" :
[ HierarchicalChunkingLevelConfiguration, ... ]
, "OverlapTokens" :Number
}
YAML
LevelConfigurations:
- HierarchicalChunkingLevelConfiguration
OverlapTokens:Number
Properties
LevelConfigurations
-
Token settings for each layer.
Required: Yes
Type: Array of HierarchicalChunkingLevelConfiguration
Minimum:
2
Maximum:
2
Update requires: No interruption
OverlapTokens
-
The number of tokens to repeat across chunks in the same layer.
Required: Yes
Type: Number
Minimum:
1
Update requires: No interruption