Interface CfnKnowledgeBase.FixedSizeChunkingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBase.FixedSizeChunkingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBase
@Stability(Stable)
public static interface CfnKnowledgeBase.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.services.wisdom.*;
FixedSizeChunkingConfigurationProperty fixedSizeChunkingConfigurationProperty = FixedSizeChunkingConfigurationProperty.builder()
.maxTokens(123)
.overlapPercentage(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKnowledgeBase.FixedSizeChunkingConfigurationPropertystatic final classAn implementation forCfnKnowledgeBase.FixedSizeChunkingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The maximum number of tokens to include in a chunk.The percentage of overlap between adjacent chunks of a data source.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
-