VectorThresholdKind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. VectorThresholdKind
- com.
- com.
public final class VectorThresholdKind
extends ExpandableStringEnum<VectorThresholdKind>
The kind of vector query being performed.
Modifier and Type | Field and Description |
---|---|
static final
Vector |
SEARCH_SCORE
The results of the vector query will filter based on the '@search. |
static final
Vector |
VECTOR_SIMILARITY
The results of the vector query will be filtered based on the vector similarity metric. |
Constructor | Description |
---|---|
Vector |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Vector |
Modifier and Type | Method and Description |
---|---|
static
Vector |
from Creates or finds a Vector |
static
Collection<Vector |
values()
Gets known Vector |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
SEARCH_SCORE
public static final VectorThresholdKind SEARCH_SCORE
The results of the vector query will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score.
VECTOR_SIMILARITY
public static final VectorThresholdKind VECTOR_SIMILARITY
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.
VectorThresholdKind
@Deprecated
public VectorThresholdKind()
Deprecated
Creates a new instance of VectorThresholdKind value.
fromString
public static VectorThresholdKind fromString(String name)
Creates or finds a VectorThresholdKind from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known VectorThresholdKind values.
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: