SemanticSearchResultsType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. SemanticSearchResultsType
- com.
- com.
public final class SemanticSearchResultsType
extends ExpandableStringEnum<SemanticSearchResultsType>
Type of partial response that was returned for a semantic ranking request.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Semantic |
BASE_RESULTS
Results without any semantic enrichment or reranking. |
static final
Semantic |
RERANKED_RESULTS
Results have been reranked with the reranker model and will include semantic captions. |
Constructor Summary
Constructor | Description |
---|---|
SemanticSearchResultsType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Semantic |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Semantic |
fromString(String name)
Creates or finds a Semantic |
static
Collection<Semantic |
values()
Gets known Semantic |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BASE_RESULTS
public static final SemanticSearchResultsType BASE_RESULTS
Results without any semantic enrichment or reranking.
RERANKED_RESULTS
public static final SemanticSearchResultsType RERANKED_RESULTS
Results have been reranked with the reranker model and will include semantic captions. They will not include any answers, answers highlights or caption highlights.
Constructor Details
SemanticSearchResultsType
@Deprecated
public SemanticSearchResultsType()
Deprecated
Creates a new instance of SemanticSearchResultsType value.
Method Details
fromString
public static SemanticSearchResultsType fromString(String name)
Creates or finds a SemanticSearchResultsType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SemanticSearchResultsType values.
Returns:
Applies to
Azure SDK for Java