Class: Aws::BedrockAgent::Types::FixedSizeChunkingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_tokensInteger

The maximum number of tokens to include in a chunk.

Returns:

  • (Integer)


1755
1756
1757
1758
1759
1760
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1755

class FixedSizeChunkingConfiguration < Struct.new(
  :max_tokens,
  :overlap_percentage)
  SENSITIVE = []
  include Aws::Structure
end

#overlap_percentageInteger

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

Returns:

  • (Integer)


1755
1756
1757
1758
1759
1760
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1755

class FixedSizeChunkingConfiguration < Struct.new(
  :max_tokens,
  :overlap_percentage)
  SENSITIVE = []
  include Aws::Structure
end