Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
- 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
Evaluation result per conversation(&summary), metric and section.
Instance Attribute Summary collapse
-
#decompositions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition>
Output only.
-
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>
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) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
constructor
A new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult.
23122 23123 23124 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23122 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decompositions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition>
Output only. List of decompostion details
Corresponds to the JSON property decompositions
23090 23091 23092 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23090 def decompositions @decompositions end |
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>
Output only. List of evaluation results.
Corresponds to the JSON property evaluationResults
23095 23096 23097 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23095 def evaluation_results @evaluation_results end |
#metric ⇒ String
Output only. metric name, e.g. accuracy, completeness, adherence, etc.
Corresponds to the JSON property metric
23100 23101 23102 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23100 def metric @metric end |
#score ⇒ Float
Output only. score calculated from decompositions
Corresponds to the JSON property score
23105 23106 23107 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23105 def score @score end |
#section ⇒ String
Output only. section/task name, e.g. action, situation, etc
Corresponds to the JSON property section
23110 23111 23112 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23110 def section @section end |
#section_summary ⇒ String
Output only. Summary of this section
Corresponds to the JSON property sectionSummary
23115 23116 23117 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23115 def section_summary @section_summary end |
#session_id ⇒ String
Output only. conversation session id
Corresponds to the JSON property sessionId
23120 23121 23122 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23120 def session_id @session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23127 23128 23129 23130 23131 23132 23133 23134 23135 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23127 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 |