Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::QuestionAnsweringCorrectnessSpec (v0.59.0)

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

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

#use_reference=

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

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