SemanticErrorReason Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. SemanticErrorReason
- com.
- com.
public final class SemanticErrorReason
extends ExpandableStringEnum<SemanticErrorReason>
Reason that a partial response was returned for a semantic ranking request.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Semantic |
CAPACITY_OVERLOADED
The request was throttled. |
static final
Semantic |
MAX_WAIT_EXCEEDED
If `semantic |
static final
Semantic |
TRANSIENT
At least one step of the semantic process failed. |
Constructor Summary
Constructor | Description |
---|---|
SemanticErrorReason() |
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
CAPACITY_OVERLOADED
public static final SemanticErrorReason CAPACITY_OVERLOADED
The request was throttled. Only the base results were returned.
MAX_WAIT_EXCEEDED
public static final SemanticErrorReason MAX_WAIT_EXCEEDED
If `semanticMaxWaitInMilliseconds` was set and the semantic processing duration exceeded that value. Only the base results were returned.
TRANSIENT
public static final SemanticErrorReason TRANSIENT
At least one step of the semantic process failed.
Constructor Details
SemanticErrorReason
@Deprecated
public SemanticErrorReason()
Deprecated
Creates a new instance of SemanticErrorReason value.
Method Details
fromString
public static SemanticErrorReason fromString(String name)
Creates or finds a SemanticErrorReason from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SemanticErrorReason values.
Returns:
Applies to
Azure SDK for Java