Class RunStepStreamEvent
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RunStepStreamEvent>
com.azure.ai.openai.assistants.models.RunStepStreamEvent
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class RunStepStreamEvent
extends com.azure.core.util.ExpandableStringEnum<RunStepStreamEvent>
Run step operation related streaming events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RunStepStreamEvent
Event sent when a run step is cancelled.static final RunStepStreamEvent
Event sent when a run step is completed.static final RunStepStreamEvent
Event sent when a new thread run step is created.static final RunStepStreamEvent
Event sent when a run stepis being streamed.static final RunStepStreamEvent
Event sent when a run step is expired.static final RunStepStreamEvent
Event sent when a run step fails.static final RunStepStreamEvent
Event sent when a run step moves to `in_progress` status. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RunStepStreamEvent
fromString
(String name) Creates or finds a RunStepStreamEvent from its string representation.static Collection
<RunStepStreamEvent> values()
Gets known RunStepStreamEvent values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
THREAD_RUN_STEP_CREATED
Event sent when a new thread run step is created. The data of this event is of type RunStep. -
THREAD_RUN_STEP_IN_PROGRESS
Event sent when a run step moves to `in_progress` status. The data of this event is of type RunStep. -
THREAD_RUN_STEP_DELTA
Event sent when a run stepis being streamed. The data of this event is of type RunStepDeltaChunk. -
THREAD_RUN_STEP_COMPLETED
Event sent when a run step is completed. The data of this event is of type RunStep. -
THREAD_RUN_STEP_FAILED
Event sent when a run step fails. The data of this event is of type RunStep. -
THREAD_RUN_STEP_CANCELLED
Event sent when a run step is cancelled. The data of this event is of type RunStep. -
THREAD_RUN_STEP_EXPIRED
Event sent when a run step is expired. The data of this event is of type RunStep.
-
-
Constructor Details
-
RunStepStreamEvent
Deprecated.Use thefromString(String)
factory method.Creates a new instance of RunStepStreamEvent value.
-
-
Method Details
-
fromString
Creates or finds a RunStepStreamEvent from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding RunStepStreamEvent.
-
values
Gets known RunStepStreamEvent values.- Returns:
- known RunStepStreamEvent values.
-
fromString(String)
factory method.