Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::PairwiseQuestionAnsweringQualitySpec (v0.54.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::PairwiseQuestionAnsweringQualitySpec.

Spec for pairwise question answering quality score metric.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#use_reference

def use_reference() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to use instance.reference to compute question answering quality.

#use_reference=

def use_reference=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to use instance.reference to compute question answering quality.
Returns
  • (::Boolean) — Optional. Whether to use instance.reference to compute question answering quality.

#version

def version() -> ::Integer
Returns
  • (::Integer) — Optional. Which version to use for evaluation.

#version=

def version=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Which version to use for evaluation.
Returns
  • (::Integer) — Optional. Which version to use for evaluation.