Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail
- 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
Aggregated result on metric level. This conatins the evaluation results of all the sections.
Instance Attribute Summary collapse
-
#metric ⇒ String
Output only.
-
#score ⇒ Float
Output only.
-
#section_details ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail.
18246 18247 18248 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric ⇒ String
Output only. Metrics name. e.g. accuracy, adherence, completeness.
Corresponds to the JSON property metric
18234 18235 18236 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18234 def metric @metric end |
#score ⇒ Float
Output only. Aggregated(average) score on this metric across all sections.
Corresponds to the JSON property score
18239 18240 18241 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18239 def score @score end |
#section_details ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail>
Output only. List of section details.
Corresponds to the JSON property sectionDetails
18244 18245 18246 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18244 def section_details @section_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18251 18252 18253 18254 18255 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18251 def update!(**args) @metric = args[:metric] if args.key?(:metric) @score = args[:score] if args.key?(:score) @section_details = args[:section_details] if args.key?(:section_details) end |