AWS::Bedrock::DataSource FixedSizeChunkingConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Bedrock::DataSource FixedSizeChunkingConfiguration

Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "MaxTokens" : Integer, "OverlapPercentage" : Integer }

YAML

MaxTokens: Integer OverlapPercentage: Integer

Properties

MaxTokens

The maximum number of tokens to include in a chunk.

Required: Yes

Type: Integer

Minimum: 1

Update requires: Replacement

OverlapPercentage

The percentage of overlap between adjacent chunks of a data source.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 99

Update requires: Replacement