Module Values.PredictedIntentSource

An intent that Amazon Lex suggests satisfies the user's intent. Includes the name of the intent, the confidence that Amazon Lex has that the user's intent is satisfied, and the slots defined for the intent.

Sourcetype nonrec t = {
  1. intentName : IntentName.t option;
    (*

    The name of the intent that Amazon Lex suggests satisfies the user's intent.

    *)
  2. nluIntentConfidence : IntentConfidence.t option;
    (*

    Indicates how confident Amazon Lex is that an intent satisfies the user's intent.

    *)
  3. slots : StringMap.t option;
    (*

    The slot and slot values associated with the predicted intent.

    *)
}
Sourceval make : ?intentName:??? -> ?nluIntentConfidence:??? -> ?slots:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of IntentName.t | `Structure of (string * [> `Double of Double.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