TextOutputEvent
¶
Source code in docs_src/capo_qbusiness/types/text_output_event.py
conversation_id
instance-attribute
¶
conversation_id: NotRequired[ConversationId]
The identifier of the conversation with which the text output event is associated.
system_message
instance-attribute
¶
system_message: NotRequired[String]
An AI-generated message in a TextOutputEvent.
system_message_id
instance-attribute
¶
system_message_id: NotRequired[MessageId]
The identifier of an AI-generated message in a TextOutputEvent.
system_message_type
instance-attribute
¶
system_message_type: NotRequired[SystemMessageType]
The type of AI-generated message in a TextOutputEvent. Amazon Q Business currently supports two types of messages:
-
RESPONSE- The Amazon Q Business system response. -
GROUNDED_RESPONSE- The corrected, hallucination-reduced, response returned by Amazon Q Business. Available only if hallucination reduction is supported and configured for the application and detected in the end user chat query by Amazon Q Business.