Enum Class TitanEmbeddingBedrockApi.TitanEmbeddingModel
java.lang.Object
java.lang.Enum<TitanEmbeddingBedrockApi.TitanEmbeddingModel>
org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel
- All Implemented Interfaces:
Serializable
,Comparable<TitanEmbeddingBedrockApi.TitanEmbeddingModel>
,Constable
- Enclosing class:
- TitanEmbeddingBedrockApi
public static enum TitanEmbeddingBedrockApi.TitanEmbeddingModel
extends Enum<TitanEmbeddingBedrockApi.TitanEmbeddingModel>
Titan Embedding model ids.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionamazon.titan-embed-image-v1amazon.titan-embed-text-v1amazon.titan-embed-text-v2 -
Method Summary
-
Enum Constant Details
-
TITAN_EMBED_IMAGE_V1
amazon.titan-embed-image-v1 -
TITAN_EMBED_TEXT_V1
amazon.titan-embed-text-v1 -
TITAN_EMBED_TEXT_V2
amazon.titan-embed-text-v2
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
id
- Returns:
- The model id.
-