다음을 통해 공유


Embedding.DistanceFunction Property

Definition

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