Interface BedrockEmbeddingModelConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BedrockEmbeddingModelConfiguration.Builder,,BedrockEmbeddingModelConfiguration> SdkBuilder<BedrockEmbeddingModelConfiguration.Builder,,BedrockEmbeddingModelConfiguration> SdkPojo
- Enclosing class:
BedrockEmbeddingModelConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaudio(Collection<AudioConfiguration> audio) Configuration settings for processing audio content in multimodal knowledge bases.audio(Consumer<AudioConfiguration.Builder>... audio) Configuration settings for processing audio content in multimodal knowledge bases.audio(AudioConfiguration... audio) Configuration settings for processing audio content in multimodal knowledge bases.dimensions(Integer dimensions) The dimensions details for the vector configuration used on the Bedrock embeddings model.embeddingDataType(String embeddingDataType) The data type for the vectors when using a model to convert text into vector embeddings.embeddingDataType(EmbeddingDataType embeddingDataType) The data type for the vectors when using a model to convert text into vector embeddings.video(Collection<VideoConfiguration> video) Configuration settings for processing video content in multimodal knowledge bases.video(Consumer<VideoConfiguration.Builder>... video) Configuration settings for processing video content in multimodal knowledge bases.video(VideoConfiguration... video) Configuration settings for processing video content in multimodal knowledge bases.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dimensions
The dimensions details for the vector configuration used on the Bedrock embeddings model.
- Parameters:
dimensions- The dimensions details for the vector configuration used on the Bedrock embeddings model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audio
Configuration settings for processing audio content in multimodal knowledge bases.
- Parameters:
audio- Configuration settings for processing audio content in multimodal knowledge bases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audio
Configuration settings for processing audio content in multimodal knowledge bases.
- Parameters:
audio- Configuration settings for processing audio content in multimodal knowledge bases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audio
Configuration settings for processing audio content in multimodal knowledge bases.
This is a convenience method that creates an instance of theAudioConfiguration.Builderavoiding the need to create one manually viaAudioConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaudio(List<AudioConfiguration>).- Parameters:
audio- a consumer that will call methods onAudioConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
video
Configuration settings for processing video content in multimodal knowledge bases.
- Parameters:
video- Configuration settings for processing video content in multimodal knowledge bases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
Configuration settings for processing video content in multimodal knowledge bases.
- Parameters:
video- Configuration settings for processing video content in multimodal knowledge bases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
Configuration settings for processing video content in multimodal knowledge bases.
This is a convenience method that creates an instance of theVideoConfiguration.Builderavoiding the need to create one manually viaVideoConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovideo(List<VideoConfiguration>).- Parameters:
video- a consumer that will call methods onVideoConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-