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