interface HierarchicalChunkingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Wisdom.CfnKnowledgeBasePropsMixin.HierarchicalChunkingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswisdom#CfnKnowledgeBasePropsMixin_HierarchicalChunkingConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnKnowledgeBasePropsMixin.HierarchicalChunkingConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_wisdom.CfnKnowledgeBasePropsMixin.HierarchicalChunkingConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wisdom » CfnKnowledgeBasePropsMixin » HierarchicalChunkingConfigurationProperty |
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from '@aws-cdk/cfn-property-mixins';
const hierarchicalChunkingConfigurationProperty: wisdom.CfnKnowledgeBasePropsMixin.HierarchicalChunkingConfigurationProperty = {
levelConfigurations: [{
maxTokens: 123,
}],
overlapTokens: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| level | IResolvable | (IResolvable | Hierarchical)[] | Token settings for each layer. |
| overlap | number | The number of tokens to repeat across chunks in the same layer. |
levelConfigurations?
Type:
IResolvable | (IResolvable | Hierarchical)[]
(optional)
Token settings for each layer.
overlapTokens?
Type:
number
(optional)
The number of tokens to repeat across chunks in the same layer.

.NET
Go
Java
Python
TypeScript