Skip to content

AnalyticsUtteranceMetric

Source code in docs_src/capo_lex_models_v2/types/analytics_utterance_metric.py
class AnalyticsUtteranceMetric(TypedDict, closed=True):
    name: "capo_lex_models_v2.types.analytics_utterance_metric_name.AnalyticsUtteranceMetricName"
    """<p>The metric for which you want to get utterance summary statistics.</p> <ul> <li> <p> <code>Count</code> – The number of utterances.</p> </li> <li> <p> <code>Missed</code> – The number of utterances that Amazon Lex failed to recognize.</p> </li> <li> <p> <code>Detected</code> – The number of utterances that Amazon Lex managed to detect.</p> </li> <li> <p> <code>UtteranceTimestamp</code> – The date and time of the utterance.</p> </li> </ul>"""
    statistic: (
        "capo_lex_models_v2.types.analytics_metric_statistic.AnalyticsMetricStatistic"
    )
    """<p>The summary statistic to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of utterances in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>"""
    order: NotRequired[
        "capo_lex_models_v2.types.analytics_sort_order.AnalyticsSortOrder"
    ]
    """<p>Specifies whether to sort the results in ascending or descending order.</p>"""

name instance-attribute

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.

order instance-attribute

order: NotRequired[AnalyticsSortOrder]

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

statistic instance-attribute

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.