Class CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudio(IResolvable audio) build()Builds the configured instance.dimensions(Number dimensions) embeddingDataType(String embeddingDataType) video(IResolvable video)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audio
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder audio(IResolvable audio) - Parameters:
audio- Configuration settings for processing audio content in multimodal knowledge bases.- Returns:
this
-
audio
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder audio(List<? extends Object> audio) - Parameters:
audio- Configuration settings for processing audio content in multimodal knowledge bases.- Returns:
this
-
dimensions
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder dimensions(Number dimensions) Sets the value ofCfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.getDimensions()- Parameters:
dimensions- The dimensions details for the vector configuration used on the Bedrock embeddings model.- Returns:
this
-
embeddingDataType
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder embeddingDataType(String embeddingDataType) Sets the value ofCfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.getEmbeddingDataType()- Parameters:
embeddingDataType- 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.- Returns:
this
-
video
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder video(IResolvable video) - Parameters:
video- Configuration settings for processing video content in multimodal knowledge bases.- Returns:
this
-
video
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty.Builder video(List<? extends Object> video) - Parameters:
video- Configuration settings for processing video content in multimodal knowledge bases.- Returns:
this
-
build
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-