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_tokens ⇒ Integer

The maximum number of tokens to include in a chunk.

Returns:

  • (Integer)


4194
4195
4196
4197
4198
4199
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4194

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

#overlap_percentage ⇒ Integer

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

Returns:

  • (Integer)


4194
4195
4196
4197
4198
4199
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4194

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