Values.MetadataEventSourceA metadata event for a AI-generated text output message in a Amazon Q Business conversation, containing associated metadata generated.
type nonrec t = {conversationId : ConversationId.t option;The identifier of the conversation with which the generated metadata is associated.
*)userMessageId : MessageId.t option;The identifier of an Amazon Q Business end user text input message within the conversation.
*)systemMessageId : MessageId.t option;The identifier of an Amazon Q Business AI generated message within the conversation.
*)sourceAttributions : SourceAttributions.t option;The source documents used to generate the conversation response.
*)finalTextMessage : String_.t option;The final text output message generated by the system.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Integer of Integer.t
| `String of SourceAttributionMediaId.t
| `Structure of
(string
* [> `String of SnippetExcerptText.t
| `Structure of
(string
* [> `Enum of string
| `Long of Long.t
| `String of MediaId.t ])
list ])
list ])
list ]
list
| `String of String_.t
| `Timestamp of Timestamp.t ])
list ]
list
| `String of ConversationId.t ])
list ]