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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java