Module Values.AnalyticsIntentMetricResultSource

An object containing the results for the intent metric you requested.

Sourcetype nonrec t = {
  1. name : AnalyticsIntentMetricName.t option;
    (*

    The metric that you requested. See Key definitions for more details about these metrics. Count – The number of times the intent was invoked. Success – The number of times the intent succeeded. Failure – The number of times the intent failed. Switched – The number of times there was a switch to a different intent. Dropped – The number of times the user dropped the intent.

    *)
  2. statistic : AnalyticsMetricStatistic.t option;
    (*

    The statistic that you requested to calculate. Sum – The total count for the category you provide in name. Average – The total count divided by the number of intents in the category you provide in name. Max – The highest count in the category you provide in name.

    *)
  3. value : AnalyticsMetricValue.t option;
    (*

    The value of the summary statistic for the metric that you requested.

    *)
}
Sourceval make : ?name:??? -> ?statistic:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of AnalyticsMetricValue.t | `Enum of string ]) 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