Interface CfnDataSource.FixedSizeChunkingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.FixedSizeChunkingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.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.bedrock.*; FixedSizeChunkingConfigurationProperty fixedSizeChunkingConfigurationProperty = FixedSizeChunkingConfigurationProperty.builder() .maxTokens(123) .overlapPercentage(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataSource.FixedSizeChunkingConfigurationProperty
static final class
An implementation forCfnDataSource.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
-