Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Overview

Overall performance per metric. This is the aggregated score for each metric across all conversations that are selected for summarization evaluation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric

Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric.



18365
18366
18367
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18365

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#metricString

Output only. Metric name. e.g. accuracy, adherence, completeness. Corresponds to the JSON property metric

Returns:

  • (String)


18363
18364
18365
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18363

def metric
  @metric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18370
18371
18372
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18370

def update!(**args)
  @metric = args[:metric] if args.key?(:metric)
end