Class StreamMessageUpdate

java.lang.Object
com.azure.ai.openai.assistants.models.StreamUpdate
com.azure.ai.openai.assistants.models.StreamMessageUpdate

public class StreamMessageUpdate extends StreamUpdate
Represents a stream event indicating an incremental service message update.
  • Constructor Details

    • StreamMessageUpdate

      public StreamMessageUpdate(MessageDeltaChunk messageDelta, AssistantStreamEvent kind)
      Creates a new instance of StreamMessageUpdate.
      Parameters:
      messageDelta - The MessageDeltaChunk with the incremental delta update sent by the service.
      kind - The stream event type associated with this update.
  • Method Details

    • getMessage

      public MessageDeltaChunk getMessage()
      Get the message incremental delta update sent by the service.
      Returns:
      the message incremental delta update sent by the service.