Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SmartReplyMetrics (v1.1.1)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SmartReplyMetrics.

The evaluation metrics for smart reply model.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowlist_coverage

def allowlist_coverage() -> ::Float
Returns
  • (::Float) — Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1].

#allowlist_coverage=

def allowlist_coverage=(value) -> ::Float
Parameter
  • value (::Float) — Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1].
Returns
  • (::Float) — Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1].

#conversation_count

def conversation_count() -> ::Integer
Returns
  • (::Integer) — Total number of conversations used to generate this metric.

#conversation_count=

def conversation_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Total number of conversations used to generate this metric.
Returns
  • (::Integer) — Total number of conversations used to generate this metric.

#top_n_metrics

def top_n_metrics() -> ::Array<::Google::Cloud::Dialogflow::V2::SmartReplyMetrics::TopNMetrics>
Returns

#top_n_metrics=

def top_n_metrics=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::SmartReplyMetrics::TopNMetrics>
Parameter
Returns