Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
- 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
Rubric result of the adherence evaluation. A rubric is ued to determine if the summary adheres to all aspects of the given instructions.
Instance Attribute Summary collapse
-
#is_addressed ⇒ Boolean
(also: #is_addressed?)
Output only.
-
#question ⇒ String
Output only.
-
#reasoning ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
constructor
A new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric.
22827 22828 22829 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22827 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Output only. A boolean that indicates whether the rubric question is addressed
or not.
Corresponds to the JSON property isAddressed
22813 22814 22815 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22813 def is_addressed @is_addressed end |
#question ⇒ String
Output only. The question generated from instruction that used to evaluate
summary.
Corresponds to the JSON property question
22820 22821 22822 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22820 def question @question end |
#reasoning ⇒ String
Output only. The reasoning of the rubric question is addressed or not.
Corresponds to the JSON property reasoning
22825 22826 22827 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22825 def reasoning @reasoning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22832 22833 22834 22835 22836 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22832 def update!(**args) @is_addressed = args[:is_addressed] if args.key?(:is_addressed) @question = args[:question] if args.key?(:question) @reasoning = args[:reasoning] if args.key?(:reasoning) end |