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 AWS 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