Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::QuestionAnsweringRelevanceSpec (v0.51.0)

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

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

#use_reference=

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

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