Interface BedrockEmbeddingModelConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BedrockEmbeddingModelConfiguration.Builder,BedrockEmbeddingModelConfiguration>,SdkBuilder<BedrockEmbeddingModelConfiguration.Builder,BedrockEmbeddingModelConfiguration>,SdkPojo
- Enclosing class:
- BedrockEmbeddingModelConfiguration
@Mutable @NotThreadSafe public static interface BedrockEmbeddingModelConfiguration.Builder extends SdkPojo, CopyableBuilder<BedrockEmbeddingModelConfiguration.Builder,BedrockEmbeddingModelConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BedrockEmbeddingModelConfiguration.Builderdimensions(Integer dimensions)The dimensions details for the vector configuration used on the Bedrock embeddings model.BedrockEmbeddingModelConfiguration.BuilderembeddingDataType(String embeddingDataType)The data type for the vectors when using a model to convert text into vector embeddings.BedrockEmbeddingModelConfiguration.BuilderembeddingDataType(EmbeddingDataType embeddingDataType)The data type for the vectors when using a model to convert text into vector embeddings.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dimensions
BedrockEmbeddingModelConfiguration.Builder dimensions(Integer 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
BedrockEmbeddingModelConfiguration.Builder embeddingDataType(String 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,EmbeddingDataType
-
embeddingDataType
BedrockEmbeddingModelConfiguration.Builder embeddingDataType(EmbeddingDataType 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,EmbeddingDataType
-
-