Module Values.MetadataEventSource

A metadata event for a AI-generated text output message in a Amazon Q Business conversation, containing associated metadata generated.

Sourcetype nonrec t = {
  1. conversationId : ConversationId.t option;
    (*

    The identifier of the conversation with which the generated metadata is associated.

    *)
  2. userMessageId : MessageId.t option;
    (*

    The identifier of an Amazon Q Business end user text input message within the conversation.

    *)
  3. systemMessageId : MessageId.t option;
    (*

    The identifier of an Amazon Q Business AI generated message within the conversation.

    *)
  4. sourceAttributions : SourceAttributions.t option;
    (*

    The source documents used to generate the conversation response.

    *)
  5. finalTextMessage : String_.t option;
    (*

    The final text output message generated by the system.

    *)
}
Sourceval make : ?conversationId:??? -> ?userMessageId:??? -> ?systemMessageId:??? -> ?sourceAttributions:??? -> ?finalTextMessage:??? -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t