Interface CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configurations for when you choose fixed-size chunking.
If you set the chunkingStrategy as NONE , exclude this field.
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.*;
FixedSizeChunkingConfigurationProperty fixedSizeChunkingConfigurationProperty = FixedSizeChunkingConfigurationProperty.builder()
.maxTokens(123)
.overlapPercentage(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxTokens
The maximum number of tokens to include in a chunk.- See Also:
-
getOverlapPercentage
The percentage of overlap between adjacent chunks of a data source.- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty.Builder builder()
-