Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::EvaluationResult.
Evaluation result that contains one of accuracy, adherence or completeness evaluation result.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accuracy_decomposition
def accuracy_decomposition() -> ::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AccuracyDecomposition-
(::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AccuracyDecomposition) — Only available for accuracy metric.
Note: The following fields are mutually exclusive:
accuracy_decomposition,adherence_rubric,completeness_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
#accuracy_decomposition=
def accuracy_decomposition=(value) -> ::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AccuracyDecomposition-
value (::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AccuracyDecomposition) — Only available for accuracy metric.
Note: The following fields are mutually exclusive:
accuracy_decomposition,adherence_rubric,completeness_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AccuracyDecomposition) — Only available for accuracy metric.
Note: The following fields are mutually exclusive:
accuracy_decomposition,adherence_rubric,completeness_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
#adherence_rubric
def adherence_rubric() -> ::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AdherenceRubric-
(::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AdherenceRubric) — Only available for adherence metric.
Note: The following fields are mutually exclusive:
adherence_rubric,accuracy_decomposition,completeness_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
#adherence_rubric=
def adherence_rubric=(value) -> ::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AdherenceRubric-
value (::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AdherenceRubric) — Only available for adherence metric.
Note: The following fields are mutually exclusive:
adherence_rubric,accuracy_decomposition,completeness_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::AdherenceRubric) — Only available for adherence metric.
Note: The following fields are mutually exclusive:
adherence_rubric,accuracy_decomposition,completeness_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
#completeness_rubric
def completeness_rubric() -> ::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::CompletenessRubric-
(::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::CompletenessRubric) — Only available for completeness metric.
Note: The following fields are mutually exclusive:
completeness_rubric,accuracy_decomposition,adherence_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
#completeness_rubric=
def completeness_rubric=(value) -> ::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::CompletenessRubric-
value (::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::CompletenessRubric) — Only available for completeness metric.
Note: The following fields are mutually exclusive:
completeness_rubric,accuracy_decomposition,adherence_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::CompletenessRubric) — Only available for completeness metric.
Note: The following fields are mutually exclusive:
completeness_rubric,accuracy_decomposition,adherence_rubric. If a field in that set is populated, all other fields in the set will automatically be cleared.