Class StreamMessageUpdate
java.lang.Object
com.azure.ai.openai.assistants.models.StreamUpdate
com.azure.ai.openai.assistants.models.StreamMessageUpdate
Represents a stream event indicating an incremental service message update.
-
Constructor Summary
ConstructorsConstructorDescriptionStreamMessageUpdate
(MessageDeltaChunk messageDelta, AssistantStreamEvent kind) Creates a new instance of StreamMessageUpdate. -
Method Summary
Modifier and TypeMethodDescriptionGet the message incremental delta update sent by the service.Methods inherited from class com.azure.ai.openai.assistants.models.StreamUpdate
getKind
-
Constructor Details
-
StreamMessageUpdate
Creates a new instance of StreamMessageUpdate.- Parameters:
messageDelta
- TheMessageDeltaChunk
with the incremental delta update sent by the service.kind
- The stream event type associated with this update.
-
-
Method Details
-
getMessage
Get the message incremental delta update sent by the service.- Returns:
- the message incremental delta update sent by the service.
-