Class IncompleteRunDetails
java.lang.Object
com.azure.core.util.ExpandableStringEnum<IncompleteRunDetails>
com.azure.ai.openai.assistants.models.IncompleteRunDetails
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class IncompleteRunDetails
extends com.azure.core.util.ExpandableStringEnum<IncompleteRunDetails>
The reason why the run is incomplete. This will point to which specific token limit was reached over the course of
the run.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IncompleteRunDetails
Maximum completion tokens exceeded.static final IncompleteRunDetails
Maximum prompt tokens exceeded. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IncompleteRunDetails
fromString
(String name) Creates or finds a IncompleteRunDetails from its string representation.static Collection
<IncompleteRunDetails> values()
Gets known IncompleteRunDetails values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
MAX_COMPLETION_TOKENS
Maximum completion tokens exceeded. -
MAX_PROMPT_TOKENS
Maximum prompt tokens exceeded.
-
-
Constructor Details
-
IncompleteRunDetails
Deprecated.Use thefromString(String)
factory method.Creates a new instance of IncompleteRunDetails value.
-
-
Method Details
-
fromString
Creates or finds a IncompleteRunDetails from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding IncompleteRunDetails.
-
values
Gets known IncompleteRunDetails values.- Returns:
- known IncompleteRunDetails values.
-
fromString(String)
factory method.