SearchModelFactory.VectorThreshold(String) Method
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.
The threshold used for vector queries. Please note this is the abstract base class. The derived classes available for instantiation are: VectorSimilarityThreshold and SearchScoreThreshold.
public static Azure.Search.Documents.Models.VectorThreshold VectorThreshold(string kind = default);
static member VectorThreshold : string -> Azure.Search.Documents.Models.VectorThreshold
Public Shared Function VectorThreshold (Optional kind As String = Nothing) As VectorThreshold
Parameters
- kind
- String
Type of threshold.
Returns
A new VectorThreshold instance for mocking.