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.



21390
21391
21392
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21390

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

Instance Attribute Details

#accuracy_decompositionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition

Corresponds to the JSON property accuracyDecomposition



21378
21379
21380
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21378

def accuracy_decomposition
  @accuracy_decomposition
end

#adherence_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric

Corresponds to the JSON property adherenceRubric



21383
21384
21385
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21383

def adherence_rubric
  @adherence_rubric
end

#completeness_rubricGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric

Corresponds to the JSON property completenessRubric



21388
21389
21390
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21388

def completeness_rubric
  @completeness_rubric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21395
21396
21397
21398
21399
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21395

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