Share via


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