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)


8774
8775
8776
8777
8778
8779
8780
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 8774

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

#buffer_sizeInteger

The buffer size.

Returns:

  • (Integer)


8774
8775
8776
8777
8778
8779
8780
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 8774

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

#max_tokensInteger

The maximum number of tokens that a chunk can contain.

Returns:

  • (Integer)


8774
8775
8776
8777
8778
8779
8780
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 8774

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