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.
Fields
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
Methods
fromString(String value)
public static CosmosVectorDistanceFunction fromString(String value)
Method to retrieve the enum constant by its overWireValue.
Parameters
- value
- String
Returns
the matching CosmosVectorDataType
toString()
valueOf(String name)
values()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java