Class: Aws::LexModelsV2::Types::AnalyticsIntentMetricResult

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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.

Returns:

  • (String)


486
487
488
489
490
491
492
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 486

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

#statisticString

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.

Returns:

  • (String)


486
487
488
489
490
491
492
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 486

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

#valueFloat

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

Returns:

  • (Float)


486
487
488
489
490
491
492
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 486

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