Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult
- 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 that contains one of accuracy, adherence or completeness evaluation result.
Instance Attribute Summary collapse
-
#accuracy_decomposition ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition
Decomposition details for accuracy.
-
#adherence_rubric ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
Rubric result of the adherence evaluation.
-
#completeness_rubric ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
Rubric details of the completeness evaluation result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult.
18343 18344 18345 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accuracy_decomposition ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition
Decomposition details for accuracy.
Corresponds to the JSON property accuracyDecomposition
18330 18331 18332 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18330 def accuracy_decomposition @accuracy_decomposition end |
#adherence_rubric ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
Rubric result of the adherence evaluation. A rubric is ued to determine if the
summary adheres to all aspects of the given instructions.
Corresponds to the JSON property adherenceRubric
18336 18337 18338 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18336 def adherence_rubric @adherence_rubric end |
#completeness_rubric ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
Rubric details of the completeness evaluation result.
Corresponds to the JSON property completenessRubric
18341 18342 18343 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18341 def completeness_rubric @completeness_rubric end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18348 18349 18350 18351 18352 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18348 def update!(**args) @accuracy_decomposition = args[:accuracy_decomposition] if args.key?(:accuracy_decomposition) @adherence_rubric = args[:adherence_rubric] if args.key?(:adherence_rubric) @completeness_rubric = args[:completeness_rubric] if args.key?(:completeness_rubric) end |