Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessSpec (v0.57.0)

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

Spec for question answering helpfulness 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 helpfulness.

#use_reference=

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

#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.