Class StreamMessageCreation
java.lang.Object
com.azure.ai.openai.assistants.models.StreamUpdate
com.azure.ai.openai.assistants.models.StreamMessageCreation
Represents a stream update indicating a message state change, e.g. creation, completion, etc.
-
Constructor Summary
ConstructorsConstructorDescriptionStreamMessageCreation
(ThreadMessage threadMessage, AssistantStreamEvent kind) Creates a new instance of StreamMessageCreation. -
Method Summary
Modifier and TypeMethodDescriptionGet the data of this message sent by the service.Methods inherited from class com.azure.ai.openai.assistants.models.StreamUpdate
getKind
-
Constructor Details
-
StreamMessageCreation
Creates a new instance of StreamMessageCreation.- Parameters:
threadMessage
- TheThreadMessage
with the data about this message sent by the service.kind
- The stream event type associated with this update.
-
-
Method Details
-
getMessage
Get the data of this message sent by the service.- Returns:
- the update with the data about this message sent by the service.
-