interface VectorIngestionConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Wisdom.Mixins.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswisdom/mixins#CfnKnowledgeBasePropsMixin_VectorIngestionConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.wisdom.mixins.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_wisdom.mixins.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wisdom » mixins » 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 { mixins as wisdom_mixins } from '@aws-cdk/mixins-preview/aws-wisdom';
const vectorIngestionConfigurationProperty: wisdom_mixins.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