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.



20723
20724
20725
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20723

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

Instance Attribute Details

#accuracy_decompositionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition

Corresponds to the JSON property accuracyDecomposition



20711
20712
20713
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20711

def accuracy_decomposition
  @accuracy_decomposition
end

#adherence_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric

Corresponds to the JSON property adherenceRubric



20716
20717
20718
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20716

def adherence_rubric
  @adherence_rubric
end

#completeness_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric

Corresponds to the JSON property completenessRubric



20721
20722
20723
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20721

def completeness_rubric
  @completeness_rubric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20728
20729
20730
20731
20732
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20728

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