interface FixedSizeChunkingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Wisdom.Mixins.CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswisdom/mixins#CfnKnowledgeBasePropsMixin_FixedSizeChunkingConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.wisdom.mixins.CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_wisdom.mixins.CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wisdom » mixins » CfnKnowledgeBasePropsMixin » FixedSizeChunkingConfigurationProperty |
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 { mixins as wisdom_mixins } from '@aws-cdk/mixins-preview/aws-wisdom';
const fixedSizeChunkingConfigurationProperty: wisdom_mixins.CfnKnowledgeBasePropsMixin.FixedSizeChunkingConfigurationProperty = {
maxTokens: 123,
overlapPercentage: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| max | number | The maximum number of tokens to include in a chunk. |
| overlap | number | The percentage of overlap between adjacent chunks of a data source. |
maxTokens?
Type:
number
(optional)
The maximum number of tokens to include in a chunk.
overlapPercentage?
Type:
number
(optional)
The percentage of overlap between adjacent chunks of a data source.

.NET
Go
Java
Python
TypeScript