Class StreamRunStepUpdate

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

public class StreamRunStepUpdate extends StreamUpdate
Represents a stream update indicating a change of state in a run step, e.g. creation, completion, etc.
  • Constructor Details

    • StreamRunStepUpdate

      public StreamRunStepUpdate(RunStepDeltaChunk runStepDelta, AssistantStreamEvent kind)
      Creates a new instance of StreamRunStepUpdate.
      Parameters:
      runStepDelta - The RunStepDeltaChunk with the update sent by the service.
      kind - The stream event type associated with this update.
  • Method Details

    • getMessage

      public RunStepDeltaChunk getMessage()
      Get the incremental update sent by the service.
      Returns:
      the incremental update sent by the service.