Class StreamRunCreation

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

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

    • StreamRunCreation

      public StreamRunCreation(RunStep run, AssistantStreamEvent kind)
      Creates a new instance of StreamRunCreation.
      Parameters:
      run - The RunStep with the data about this run step sent by the service.
      kind - The stream event type associated with this update.
  • Method Details

    • getMessage

      public RunStep getMessage()
      Get the update with the data about this run step sent by the service.
      Returns:
      the update with the data about this run step sent by the service.