Embedding.DistanceFunction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the DistanceFunction which is used to calculate the respective distance between the vectors.
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[Newtonsoft.Json.JsonProperty(PropertyName="distanceFunction")]
public Microsoft.Azure.Cosmos.DistanceFunction DistanceFunction { get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
[<Newtonsoft.Json.JsonProperty(PropertyName="distanceFunction")>]
member this.DistanceFunction : Microsoft.Azure.Cosmos.DistanceFunction with get, set
Public Property DistanceFunction As DistanceFunction
Property Value
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute Newtonsoft.Json.JsonPropertyAttribute