Class: Aws::QConnect::Types::SemanticChunkingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::QConnect::Types::SemanticChunkingConfiguration
- 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
-
#breakpoint_percentile_threshold ⇒ Integer
The dissimilarity threshold for splitting chunks.
-
#buffer_size ⇒ Integer
The buffer size.
-
#max_tokens ⇒ Integer
The maximum number of tokens that a chunk can contain.
Instance Attribute Details
#breakpoint_percentile_threshold ⇒ Integer
The dissimilarity threshold for splitting chunks.
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_size ⇒ Integer
The buffer size.
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_tokens ⇒ Integer
The maximum number of tokens that a chunk can contain.
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 |