Class: Aws::LexModelsV2::Types::AnalyticsIntentStageMetric

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 intent stages 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 intent stage summary statistics. See Key definitions for more details about these metrics.

  • Count – The number of times the intent stage occurred.

  • Success – The number of times the intent stage succeeded.

  • Failure – The number of times the intent stage failed.

  • Dropped – The number of times the user dropped the intent stage.

  • Retry – The number of times the bot tried to elicit a response from the user at this stage.

Returns:

  • (String)


744
745
746
747
748
749
750
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 744

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

#orderString

Specifies whether to sort the results in ascending or descending order of the summary statistic (value in the response).

Returns:

  • (String)


744
745
746
747
748
749
750
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 744

class AnalyticsIntentStageMetric < 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 intent stages in the category you provide in name.

  • Max – The highest count in the category you provide in name.

Returns:

  • (String)


744
745
746
747
748
749
750
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 744

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