Class StreamThreadRunCreation
java.lang.Object
com.azure.ai.openai.assistants.models.StreamUpdate
com.azure.ai.openai.assistants.models.StreamThreadRunCreation
Represents a stream update indicating a change of state in a thread run, e.g. creation, completion, etc.
-
Constructor Summary
ConstructorsConstructorDescriptionStreamThreadRunCreation
(ThreadRun threadRun, AssistantStreamEvent kind) Creates a new instance of StreamThreadRunCreation. -
Method Summary
Modifier and TypeMethodDescriptionGet the thread run with the update sent by the service.Methods inherited from class com.azure.ai.openai.assistants.models.StreamUpdate
getKind
-
Constructor Details
-
StreamThreadRunCreation
Creates a new instance of StreamThreadRunCreation.- Parameters:
threadRun
- TheThreadRun
with the update sent by the service.kind
- The stream event type associated with this update.
-
-
Method Details
-
getMessage
Get the thread run with the update sent by the service.- Returns:
- the thread run with the update sent by the service.
-