Class: Aws::LexModelsV2::Types::AnalyticsUtteranceMetric

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

Contains 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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.

Returns:

  • (String)


1388
1389
1390
1391
1392
1393
1394
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1388

class AnalyticsUtteranceMetric < Struct.new(
  :name,
  :statistic,
  :order)
  SENSITIVE = []
  include Aws::Structure
end

#orderString

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

Returns:

  • (String)


1388
1389
1390
1391
1392
1393
1394
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1388

class AnalyticsUtteranceMetric < Struct.new(
  :name,
  :statistic,
  :order)
  SENSITIVE = []
  include Aws::Structure
end

#statisticString

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.

Returns:

  • (String)


1388
1389
1390
1391
1392
1393
1394
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1388

class AnalyticsUtteranceMetric < Struct.new(
  :name,
  :statistic,
  :order)
  SENSITIVE = []
  include Aws::Structure
end