Class StreamRequiredAction

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

public class StreamRequiredAction extends StreamUpdate
Represents a stream update indicating that input from the user is required.
  • Constructor Details

    • StreamRequiredAction

      public StreamRequiredAction(ThreadRun action, AssistantStreamEvent kind)
      Creates a new instance of StreamRequiredAction.
      Parameters:
      action - The ThreadRun with the action required by the service.
      kind - The stream event type associated with this update.
  • Method Details

    • getMessage

      public ThreadRun getMessage()
      Get the message detailing the action required by the service.
      Returns:
      the message detailing the action required by the service.