Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric.



23048
23049
23050
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23048

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)


23046
23047
23048
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23046

def metric
  @metric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23053
23054
23055
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23053

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