interface VectorIngestionConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Wisdom.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswisdom#CfnKnowledgeBasePropsMixin_VectorIngestionConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_wisdom.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wisdom » CfnKnowledgeBasePropsMixin » VectorIngestionConfigurationProperty |
Contains details about how to ingest the documents in a data source.
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/cfn-property-mixins';
const vectorIngestionConfigurationProperty: wisdom.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty = {
chunkingConfiguration: {
chunkingStrategy: 'chunkingStrategy',
fixedSizeChunkingConfiguration: {
maxTokens: 123,
overlapPercentage: 123,
},
hierarchicalChunkingConfiguration: {
levelConfigurations: [{
maxTokens: 123,
}],
overlapTokens: 123,
},
semanticChunkingConfiguration: {
breakpointPercentileThreshold: 123,
bufferSize: 123,
maxTokens: 123,
},
},
parsingConfiguration: {
bedrockFoundationModelConfiguration: {
modelArn: 'modelArn',
parsingPrompt: {
parsingPromptText: 'parsingPromptText',
},
},
parsingStrategy: 'parsingStrategy',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| chunking | IResolvable | Chunking | Details about how to chunk the documents in the data source. |
| parsing | IResolvable | Parsing | A custom parser for data source documents. |
chunkingConfiguration?
Type:
IResolvable | Chunking
(optional)
Details about how to chunk the documents in the data source.
A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
parsingConfiguration?
Type:
IResolvable | Parsing
(optional)
A custom parser for data source documents.

.NET
Go
Java
Python
TypeScript