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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/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)


8872
8873
8874
8875
8876
8877
8878
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 8872

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

#buffer_sizeInteger

The buffer size.

Returns:

  • (Integer)


8872
8873
8874
8875
8876
8877
8878
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 8872

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)


8872
8873
8874
8875
8876
8877
8878
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 8872

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