Package com.azure.ai.openai.models
Class BatchStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BatchStatus>
com.azure.ai.openai.models.BatchStatus
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The status of a batch.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchStatusThe batch was cancelled.static final BatchStatusCancellation of the batch has been initiated.static final BatchStatusThe batch has been completed and the results are ready.static final BatchStatusThe batch was not able to complete within the 24-hour time window.static final BatchStatusThe input file has failed the validation process.static final BatchStatusThe batch has completed and the results are being prepared.static final BatchStatusThe input file was successfully validated and the batch is currently being executed.static final BatchStatusThe input file is being validated before the batch can begin. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchStatusfromString(String name) Creates or finds a BatchStatus from its string representation.static Collection<BatchStatus> values()Gets known BatchStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
VALIDATING
The input file is being validated before the batch can begin. -
FAILED
The input file has failed the validation process. -
IN_PROGRESS
The input file was successfully validated and the batch is currently being executed. -
FINALIZING
The batch has completed and the results are being prepared. -
COMPLETED
The batch has been completed and the results are ready. -
EXPIRED
The batch was not able to complete within the 24-hour time window. -
CANCELLING
Cancellation of the batch has been initiated. -
CANCELLED
The batch was cancelled.
-
-
Constructor Details
-
BatchStatus
Deprecated.Use thefromString(String)factory method.Creates a new instance of BatchStatus value.
-
-
Method Details
-
fromString
Creates or finds a BatchStatus from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding BatchStatus.
-
values
Gets known BatchStatus values.- Returns:
- known BatchStatus values.
-
fromString(String)factory method.