Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric
- 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
-
#metric ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#metric ⇒ String
Output only. Metric name. e.g. accuracy, adherence, completeness.
Corresponds to the JSON property metric
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 |