Uses of Enum
com.azure.cosmos.models.CosmosVectorDistanceFunction
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosVectorDistanceFunction in com.azure.cosmos.models
Modifier and TypeMethodDescriptionstatic CosmosVectorDistanceFunction
CosmosVectorDistanceFunction.fromString
(String value) Method to retrieve the enum constant by its overWireValue.CosmosVectorEmbedding.getDistanceFunction()
Gets the distanceFunction for the cosmosVectorEmbedding.static CosmosVectorDistanceFunction
Returns the enum constant of this type with the specified name.static CosmosVectorDistanceFunction[]
CosmosVectorDistanceFunction.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionCosmosVectorEmbedding.setDistanceFunction
(CosmosVectorDistanceFunction distanceFunction) Sets the distanceFunction for the cosmosVectorEmbedding.