Values.TextOutputEventSourceAn output event for an AI-generated response in an Amazon Q Business web experience.
type nonrec t = {systemMessageType : SystemMessageType.t option;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.
*)conversationId : ConversationId.t option;The identifier of the conversation with which the text output event is associated.
*)userMessageId : MessageId.t option;The identifier of an end user message in a TextOutputEvent.
*)systemMessageId : MessageId.t option;The identifier of an AI-generated message in a TextOutputEvent.
*)systemMessage : String_.t option;An AI-generated message in a TextOutputEvent.
*)}val to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of ConversationId.t ]) list ]