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
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