interface FixedSizeChunkingConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Wisdom.CfnKnowledgeBase.FixedSizeChunkingConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnKnowledgeBase_FixedSizeChunkingConfigurationProperty |
![]() | software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.FixedSizeChunkingConfigurationProperty |
![]() | aws_cdk.aws_wisdom.CfnKnowledgeBase.FixedSizeChunkingConfigurationProperty |
![]() | aws-cdk-lib » aws_wisdom » CfnKnowledgeBase » 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 { aws_wisdom as wisdom } from 'aws-cdk-lib';
const fixedSizeChunkingConfigurationProperty: wisdom.CfnKnowledgeBase.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
The maximum number of tokens to include in a chunk.
overlapPercentage
Type:
number
The percentage of overlap between adjacent chunks of a data source.