Show / Hide Table of Contents

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-fixedsizechunkingconfiguration.html

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

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-fixedsizechunkingconfiguration.html#cfn-bedrock-datasource-fixedsizechunkingconfiguration-maxtokens

OverlapPercentage

The percentage of overlap between adjacent chunks of a data source.

double OverlapPercentage { get; }
Property Value

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-fixedsizechunkingconfiguration.html#cfn-bedrock-datasource-fixedsizechunkingconfiguration-overlappercentage

Back to top Generated by DocFX