Values.AnalyticsUtteranceMetricSourceContains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the utterances across the user sessions with the bot.
type nonrec t = {name : AnalyticsUtteranceMetricName.t;The metric for which you want to get utterance summary statistics. Count – The number of utterances. Missed – The number of utterances that Amazon Lex failed to recognize. Detected – The number of utterances that Amazon Lex managed to detect. UtteranceTimestamp – The date and time of the utterance.
*)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 utterances in the category you provide in name. Max – The highest count in the category you provide in name.
*)order : AnalyticsSortOrder.t option;Specifies whether to sort the results in ascending or descending order.
*)}val make :
?order:??? ->
name:AnalyticsUtteranceMetricName.t ->
statistic:AnalyticsMetricStatistic.t ->
unit ->
t