VectorSimilarityThreshold(Double) Constructor
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.
Initializes a new instance of VectorSimilarityThreshold.
public VectorSimilarityThreshold (double value);
new Azure.Search.Documents.Models.VectorSimilarityThreshold : double -> Azure.Search.Documents.Models.VectorSimilarityThreshold
Public Sub New (value As Double)
Parameters
- value
- Double
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.