Module Values.PutFeedbackRequestSource

Enables your end user to provide feedback on their Amazon Q Business generated chat responses.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The identifier of the application associated with the feedback.

    *)
  2. userId : UserId.t option;
    (*

    The identifier of the user giving the feedback.

    *)
  3. conversationId : ConversationId.t;
    (*

    The identifier of the conversation the feedback is attached to.

    *)
  4. messageId : SystemMessageId.t;
    (*

    The identifier of the chat message that the feedback was given for.

    *)
  5. messageCopiedAt : Timestamp.t option;
    (*

    The timestamp for when the feedback was recorded.

    *)
  6. messageUsefulness : MessageUsefulnessFeedback.t option;
    (*

    The feedback usefulness value given by the user to the chat message.

    *)
}
Sourceval context_ : string
Sourceval make : ?userId:??? -> ?messageCopiedAt:??? -> ?messageUsefulness:??? -> applicationId:ApplicationId.t -> conversationId:ConversationId.t -> messageId:SystemMessageId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ApplicationId.t | `Structure of (string * [> `Enum of string | `String of MessageUsefulnessComment.t | `Timestamp of Timestamp.t ]) list | `Timestamp of Timestamp.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