Enum Class DashScopeModel.EmbeddingModel
java.lang.Object
java.lang.Enum<DashScopeModel.EmbeddingModel>
com.alibaba.cloud.ai.dashscope.spec.DashScopeModel.EmbeddingModel
- All Implemented Interfaces:
Serializable,Comparable<DashScopeModel.EmbeddingModel>,Constable
- Enclosing class:
- DashScopeModel
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDIMENSION: 1536DIMENSION: 15361,024(Default)、768、512、256、128 or 642,048、1,536、1,024(Default)、768、512、256、128 or 64 -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the enum constant of this class with the specified name.static DashScopeModel.EmbeddingModel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QWEN_2_5_VL_EMBEDDING
-
TONGYI_EMBEDDING_VISION_PLUS
-
EMBEDDING_V1
DIMENSION: 1536 -
EMBEDDING_V2
DIMENSION: 1536 -
EMBEDDING_V3
1,024(Default)、768、512、256、128 or 64 -
EMBEDDING_V4
2,048、1,536、1,024(Default)、768、512、256、128 or 64
-
-
Field Details
-
value
-
-
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
-
getValue
-