Module Values.AnalyticsIntentMetricSource

Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the intents in the bot.

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

    The metric for which you want to get intent summary statistics. 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;
    (*

    The summary statistic 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. order : AnalyticsSortOrder.t option;
    (*

    Specifies whether to sort the results in ascending or descending order.

    *)
}
Sourceval context_ : string
Sourceval make : ?order:??? -> name:AnalyticsIntentMetricName.t -> statistic:AnalyticsMetricStatistic.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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