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.



21253
21254
21255
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21253

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

Instance Attribute Details

#accuracy_decompositionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition

Corresponds to the JSON property accuracyDecomposition



21241
21242
21243
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21241

def accuracy_decomposition
  @accuracy_decomposition
end

#adherence_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric

Corresponds to the JSON property adherenceRubric



21246
21247
21248
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21246

def adherence_rubric
  @adherence_rubric
end

#completeness_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric

Corresponds to the JSON property completenessRubric



21251
21252
21253
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21251

def completeness_rubric
  @completeness_rubric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21258
21259
21260
21261
21262
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21258

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