Interface CfnDataSource.IFixedSizeChunkingConfigurationProperty
Configurations for when you choose fixed-size chunking.
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDataSource.IFixedSizeChunkingConfigurationProperty
Syntax (vb)
Public Interface CfnDataSource.IFixedSizeChunkingConfigurationProperty
Remarks
If you set the chunkingStrategy as NONE , exclude this field.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var fixedSizeChunkingConfigurationProperty = new FixedSizeChunkingConfigurationProperty {
MaxTokens = 123,
OverlapPercentage = 123
};
Synopsis
Properties
| MaxTokens | The maximum number of tokens to include in a chunk. |
| OverlapPercentage | The percentage of overlap between adjacent chunks of a data source. |
Properties
MaxTokens
The maximum number of tokens to include in a chunk.
double MaxTokens { get; }
Property Value
Remarks
OverlapPercentage
The percentage of overlap between adjacent chunks of a data source.
double OverlapPercentage { get; }