Class StreamRequiredAction
java.lang.Object
com.azure.ai.openai.assistants.models.StreamUpdate
com.azure.ai.openai.assistants.models.StreamRequiredAction
Represents a stream update indicating that input from the user is required.
-
Constructor Summary
ConstructorsConstructorDescriptionStreamRequiredAction
(ThreadRun action, AssistantStreamEvent kind) Creates a new instance of StreamRequiredAction. -
Method Summary
Modifier and TypeMethodDescriptionGet the message detailing the action required by the service.Methods inherited from class com.azure.ai.openai.assistants.models.StreamUpdate
getKind
-
Constructor Details
-
StreamRequiredAction
Creates a new instance of StreamRequiredAction.- Parameters:
action
- TheThreadRun
with the action required by the service.kind
- The stream event type associated with this update.
-
-
Method Details
-
getMessage
Get the message detailing the action required by the service.- Returns:
- the message detailing the action required by the service.
-