你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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