CosmosVectorDistanceFunction Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. cosmos. models. CosmosVectorDistanceFunction
- com.
- java.
public enum CosmosVectorDistanceFunction
extends Enum<CosmosVectorDistanceFunction>
Distance Function for the embeddings in the Cosmos DB database service.
COSINE |
Represents the cosine distance function. |
DOT_PRODUCT |
Represents the dot product distance function. |
EUCLIDEAN |
Represents the euclidean distance function. |
Methods inherited from java.lang.Enum
valueOf
clone
compareTo
describeConstable
equals
finalize
getDeclaringClass
hashCode
name
ordinal
toString
Methods inherited from java.lang.Object
fromString(String value)
public static CosmosVectorDistanceFunction fromString(String value)
Method to retrieve the enum constant by its overWireValue.
- value
- String
the matching CosmosVectorDataType
toString()
valueOf(String name)
public static CosmosVectorDistanceFunction valueOf(String name)
- name
- String