Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult.



21147
21148
21149
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21147

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

Instance Attribute Details

#accuracy_decompositionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition

Corresponds to the JSON property accuracyDecomposition



21135
21136
21137
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21135

def accuracy_decomposition
  @accuracy_decomposition
end

#adherence_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric

Corresponds to the JSON property adherenceRubric



21140
21141
21142
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21140

def adherence_rubric
  @adherence_rubric
end

#completeness_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric

Corresponds to the JSON property completenessRubric



21145
21146
21147
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21145

def completeness_rubric
  @completeness_rubric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21152
21153
21154
21155
21156
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21152

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