Class StreamThreadCreation
java.lang.Object
com.azure.ai.openai.assistants.models.StreamUpdate
com.azure.ai.openai.assistants.models.StreamThreadCreation
Represents a stream update that indicating the creation of a new thread.
-
Constructor Summary
ConstructorsConstructorDescriptionStreamThreadCreation
(AssistantThread thread, AssistantStreamEvent kind) Creates a new instance of StreamThreadCreation. -
Method Summary
Modifier and TypeMethodDescriptionGet the thread data sent in the update by the service.Methods inherited from class com.azure.ai.openai.assistants.models.StreamUpdate
getKind
-
Constructor Details
-
StreamThreadCreation
Creates a new instance of StreamThreadCreation.- Parameters:
thread
- TheAssistantThread
in the update sent by the service.kind
- The stream event type associated with this update.
-
-
Method Details
-
getMessage
Get the thread data sent in the update by the service.- Returns:
- the thread data sent in the update by the service.
-