Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInput.
Input for question answering helpfulness metric.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance
def instance() -> ::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInstance
Returns
- (::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInstance) — Required. Question answering helpfulness instance.
#instance=
def instance=(value) -> ::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInstance
Parameter
- value (::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInstance) — Required. Question answering helpfulness instance.
Returns
- (::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInstance) — Required. Question answering helpfulness instance.
#metric_spec
def metric_spec() -> ::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessSpec
Returns
- (::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessSpec) — Required. Spec for question answering helpfulness score metric.
#metric_spec=
def metric_spec=(value) -> ::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessSpec
Parameter
- value (::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessSpec) — Required. Spec for question answering helpfulness score metric.
Returns
- (::Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessSpec) — Required. Spec for question answering helpfulness score metric.