ChatOutputStream¶
Union Type¶
ChatOutputStream
module-attribute
¶
ChatOutputStream = Union[ChatOutputStreamTextEvent | ChatOutputStreamMetadataEvent | ChatOutputStreamActionReviewEvent | ChatOutputStreamFailedAttachmentEvent | ChatOutputStreamAuthChallengeRequestEvent | ChatOutputStreamUnknown]
The streaming output for the Chat API.
Union Member Types¶
ChatOutputStreamTextEvent
dataclass
¶
Bases: _SerdeShape
Information about the payload of the ChatOutputStream event containing
the AI-generated message output.
Attributes¶
ChatOutputStreamMetadataEvent
dataclass
¶
Bases: _SerdeShape
A metadata event for a AI-generated text output message in a Amazon Q Business conversation.
Attributes¶
ChatOutputStreamActionReviewEvent
dataclass
¶
Bases: _SerdeShape
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.