Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Section level result.
Instance Attribute Summary collapse
-
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult>
Output only.
-
#score ⇒ Float
Output only.
-
#section ⇒ String
Output only.
-
#section_summary ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail.
18284 18285 18286 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult>
Output only. List of evaluation result. The list only contains one kind of the
evaluation result.
Corresponds to the JSON property evaluationResults
18266 18267 18268 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18266 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
18272 18273 18274 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18272 def score @score end |
#section ⇒ String
Output only. The name of the summary instruction.
Corresponds to the JSON property section
18277 18278 18279 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18277 def section @section end |
#section_summary ⇒ String
Output only. Summary for this section
Corresponds to the JSON property sectionSummary
18282 18283 18284 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18282 def section_summary @section_summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18289 18290 18291 18292 18293 18294 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18289 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 |