Skip to content
v2.278.0

HierarchicalChunkingLevelConfigurationProperty Struct ​

Token settings for each layer.

Example ​

ts
// 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-lib';
const hierarchicalChunkingLevelConfigurationProperty: wisdom.CfnKnowledgeBase.HierarchicalChunkingLevelConfigurationProperty = {
  maxTokens: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

hierarchical_chunking_level_configuration_property = wisdom.CfnKnowledgeBase.HierarchicalChunkingLevelConfigurationProperty(
    max_tokens=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;

HierarchicalChunkingLevelConfigurationProperty hierarchicalChunkingLevelConfigurationProperty = HierarchicalChunkingLevelConfigurationProperty.builder()
        .maxTokens(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;

var hierarchicalChunkingLevelConfigurationProperty = new HierarchicalChunkingLevelConfigurationProperty {
    MaxTokens = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hierarchicalChunkingLevelConfigurationProperty := &HierarchicalChunkingLevelConfigurationProperty{
	MaxTokens: jsii.Number(123),
}

Properties ​

maxTokensnumbermax_tokensint | floatmaxTokensNumberMaxTokensdoubleMaxTokens*float64 required #
The maximum number of tokens that a chunk can contain in this layer.