Interface CfnKnowledgeBasePropsMixin.SemanticChunkingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.SemanticChunkingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.SemanticChunkingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.wisdom.*;
SemanticChunkingConfigurationProperty semanticChunkingConfigurationProperty = SemanticChunkingConfigurationProperty.builder()
.breakpointPercentileThreshold(123)
.bufferSize(123)
.maxTokens(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBasePropsMixin.SemanticChunkingConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBreakpointPercentileThreshold
The dissimilarity threshold for splitting chunks.- See Also:
-
getBufferSize
The buffer size.- See Also:
-
getMaxTokens
The maximum number of tokens that a chunk can contain.- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBasePropsMixin.SemanticChunkingConfigurationProperty.Builder builder()
-