Class: Aws::QConnect::Types::SemanticChunkingConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-qconnect/types.rb

Overview

Settings for semantic document chunking for a data source. Semantic chunking splits a document into smaller documents based on groups of similar content derived from the text with natural language processing.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#breakpoint_percentile_thresholdInteger

The dissimilarity threshold for splitting chunks.

Returns:

  • (Integer)


10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-qconnect/types.rb', line 10282

class SemanticChunkingConfiguration < Struct.new(
  :max_tokens,
  :buffer_size,
  :breakpoint_percentile_threshold)
  SENSITIVE = []
  include Aws::Structure
end

#buffer_sizeInteger

The buffer size.

Returns:

  • (Integer)


10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-qconnect/types.rb', line 10282

class SemanticChunkingConfiguration < Struct.new(
  :max_tokens,
  :buffer_size,
  :breakpoint_percentile_threshold)
  SENSITIVE = []
  include Aws::Structure
end

#max_tokensInteger

The maximum number of tokens that a chunk can contain.

Returns:

  • (Integer)


10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-qconnect/types.rb', line 10282

class SemanticChunkingConfiguration < Struct.new(
  :max_tokens,
  :buffer_size,
  :breakpoint_percentile_threshold)
  SENSITIVE = []
  include Aws::Structure
end