Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
- 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
-
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>
Output only.
-
#score ⇒ Float
Output only.
-
#section ⇒ String
Output only.
-
#section_summary ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
constructor
A new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_results ⇒ Array<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 |
#score ⇒ Float
Output only. Aggregated(average) score on this section across all evaluation
results. Either decompositions or rubrics.
Corresponds to the JSON property score
22955 22956 22957 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22955 def score @score end |
#section ⇒ String
Output only. The name of the summary instruction.
Corresponds to the JSON property section
22960 22961 22962 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22960 def section @section end |
#section_summary ⇒ String
Output only. Summary for this section
Corresponds to the JSON property sectionSummary
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 |