Module Values.FollowUpPromptSource

A prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.

Sourcetype nonrec t = {
  1. prompt : Prompt.t;
    (*

    Prompts for information from the user.

    *)
  2. rejectionStatement : Statement.t;
    (*

    If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

    *)
}
Sourceval context_ : string
Sourceval make : prompt:Prompt.t -> rejectionStatement:Statement.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of PromptMaxAttempts.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of GroupNumber.t | `String of ContentString.t ]) list ] list | `String of ResponseCard.t ]) 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