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