Interface CfnKnowledgeBase.HierarchicalChunkingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBase.HierarchicalChunkingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBase
@Stability(Stable)
public static interface CfnKnowledgeBase.HierarchicalChunkingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Settings for hierarchical document chunking for a data source.
Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
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.*; HierarchicalChunkingConfigurationProperty hierarchicalChunkingConfigurationProperty = HierarchicalChunkingConfigurationProperty.builder() .levelConfigurations(List.of(HierarchicalChunkingLevelConfigurationProperty.builder() .maxTokens(123) .build())) .overlapTokens(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnKnowledgeBase.HierarchicalChunkingConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Token settings for each layer.The number of tokens to repeat across chunks in the same layer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLevelConfigurations
Token settings for each layer.- See Also:
-
getOverlapTokens
The number of tokens to repeat across chunks in the same layer.- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBase.HierarchicalChunkingConfigurationProperty.Builder builder()
-