interface BedrockEmbeddingModelConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnKnowledgeBase_BedrockEmbeddingModelConfigurationProperty |
Java | software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty |
Python | aws_cdk.aws_bedrock.CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnKnowledgeBase » BedrockEmbeddingModelConfigurationProperty |
The vector configuration details for the Bedrock embeddings model.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const bedrockEmbeddingModelConfigurationProperty: bedrock.CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty = {
audio: [{
segmentationConfiguration: {
fixedLengthDuration: 123,
},
}],
dimensions: 123,
embeddingDataType: 'embeddingDataType',
video: [{
segmentationConfiguration: {
fixedLengthDuration: 123,
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| audio? | IResolvable | (IResolvable | Audio)[] | Configuration settings for processing audio content in multimodal knowledge bases. |
| dimensions? | number | The dimensions details for the vector configuration used on the Bedrock embeddings model. |
| embedding | string | The data type for the vectors when using a model to convert text into vector embeddings. |
| video? | IResolvable | (IResolvable | Video)[] | Configuration settings for processing video content in multimodal knowledge bases. |
audio?
Type:
IResolvable | (IResolvable | Audio)[]
(optional)
Configuration settings for processing audio content in multimodal knowledge bases.
dimensions?
Type:
number
(optional)
The dimensions details for the vector configuration used on the Bedrock embeddings model.
embeddingDataType?
Type:
string
(optional)
The data type for the vectors when using a model to convert text into vector embeddings.
The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.
video?
Type:
IResolvable | (IResolvable | Video)[]
(optional)
Configuration settings for processing video content in multimodal knowledge bases.

.NET
Go
Java
Python
TypeScript