Skip to content
v2.274.0

FixedSizeChunkingConfigurationProperty Struct ​

Configurations for when you choose fixed-size chunking.

If you set the chunkingStrategy as NONE , exclude this field.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const fixedSizeChunkingConfigurationProperty: bedrock.CfnDataSource.FixedSizeChunkingConfigurationProperty = {
  maxTokens: 123,
  overlapPercentage: 123,
};

Properties ​

maxTokensnumbermax_tokensint | floatmaxTokensNumberMaxTokensdoubleMaxTokens*float64required#
The maximum number of tokens to include in a chunk.
overlapPercentagenumberoverlap_percentageint | floatoverlapPercentageNumberOverlapPercentagedoubleOverlapPercentage*float64required#
The percentage of overlap between adjacent chunks of a data source.