Module Values.ChatInputSource

Starts or continues a streaming Amazon Q Business conversation.

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

    The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.

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

    The identifier of the user attached to the chat input.

    *)
  3. userGroups : UserGroups.t option;
    (*

    The group names that a user associated with the chat input belongs to.

    *)
  4. conversationId : ConversationId.t option;
    (*

    The identifier of the Amazon Q Business conversation.

    *)
  5. parentMessageId : MessageId.t option;
    (*

    The identifier used to associate a user message with a AI generated response.

    *)
  6. clientToken : ClientToken.t option;
    (*

    A token that you provide to identify the chat input.

    *)
  7. inputStream : ChatInputStream.t option;
    (*

    The streaming input for the Chat API.

    *)
}
Sourceval context_ : string
Sourceval make : ?userId:??? -> ?userGroups:??? -> ?conversationId:??? -> ?parentMessageId:??? -> ?clientToken:??? -> ?inputStream:??? -> applicationId:ApplicationId.t -> unit -> t
Sourceval of_header_and_body : ((string, UserId.t) Awso.Import.List.Assoc.t * ChatInputStream.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t ] list | `String of ApplicationId.t | `Structure of (string * [> `Structure of (string * Awso.Botodata.value) list ]) list ]) 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