Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail

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

Overview

Section level result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail.



22967
22968
22969
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22967

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

Instance Attribute Details

#evaluation_resultsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>

Output only. List of evaluation result. The list only contains one kind of the evaluation result. Corresponds to the JSON property evaluationResults



22949
22950
22951
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22949

def evaluation_results
  @evaluation_results
end

#scoreFloat

Output only. Aggregated(average) score on this section across all evaluation results. Either decompositions or rubrics. Corresponds to the JSON property score

Returns:

  • (Float)


22955
22956
22957
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22955

def score
  @score
end

#sectionString

Output only. The name of the summary instruction. Corresponds to the JSON property section

Returns:

  • (String)


22960
22961
22962
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22960

def section
  @section
end

#section_summaryString

Output only. Summary for this section Corresponds to the JSON property sectionSummary

Returns:

  • (String)


22965
22966
22967
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22965

def section_summary
  @section_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22972
22973
22974
22975
22976
22977
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22972

def update!(**args)
  @evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results)
  @score = args[:score] if args.key?(:score)
  @section = args[:section] if args.key?(:section)
  @section_summary = args[:section_summary] if args.key?(:section_summary)
end