Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
- 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
Evaluation result per conversation(&summary), metric and section.
Instance Attribute Summary collapse
-
#decompositions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition>
Output only.
-
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult>
Output only.
-
#metric ⇒ String
Output only.
-
#score ⇒ Float
Output only.
-
#section ⇒ String
Output only.
-
#section_summary ⇒ String
Output only.
-
#session_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult.
18439 18440 18441 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decompositions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition>
Output only. List of decompostion details
Corresponds to the JSON property decompositions
18407 18408 18409 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18407 def decompositions @decompositions end |
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult>
Output only. List of evaluation results.
Corresponds to the JSON property evaluationResults
18412 18413 18414 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18412 def evaluation_results @evaluation_results end |
#metric ⇒ String
Output only. metric name, e.g. accuracy, completeness, adherence, etc.
Corresponds to the JSON property metric
18417 18418 18419 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18417 def metric @metric end |
#score ⇒ Float
Output only. score calculated from decompositions
Corresponds to the JSON property score
18422 18423 18424 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18422 def score @score end |
#section ⇒ String
Output only. section/task name, e.g. action, situation, etc
Corresponds to the JSON property section
18427 18428 18429 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18427 def section @section end |
#section_summary ⇒ String
Output only. Summary of this section
Corresponds to the JSON property sectionSummary
18432 18433 18434 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18432 def section_summary @section_summary end |
#session_id ⇒ String
Output only. conversation session id
Corresponds to the JSON property sessionId
18437 18438 18439 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18437 def session_id @session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18444 18445 18446 18447 18448 18449 18450 18451 18452 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18444 def update!(**args) @decompositions = args[:decompositions] if args.key?(:decompositions) @evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results) @metric = args[:metric] if args.key?(:metric) @score = args[:score] if args.key?(:score) @section = args[:section] if args.key?(:section) @section_summary = args[:section_summary] if args.key?(:section_summary) @session_id = args[:session_id] if args.key?(:session_id) end |