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

VectorSimilarityThreshold Class

Definition

The results of the vector query will be filtered based on the vector similarity metric. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field.

public class VectorSimilarityThreshold : Azure.Search.Documents.Models.VectorThreshold
type VectorSimilarityThreshold = class
    inherit VectorThreshold
Public Class VectorSimilarityThreshold
Inherits VectorThreshold
Inheritance
VectorSimilarityThreshold

Constructors

VectorSimilarityThreshold(Double)

Initializes a new instance of VectorSimilarityThreshold.

Properties

Value

The threshold will filter based on the similarity metric value. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field.

Applies to