Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::QuestionAnsweringRelevanceResult (v0.56.0)

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

Spec for question answering relevance result.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Output only. Confidence for question answering relevance score.

#explanation

def explanation() -> ::String
Returns
  • (::String) — Output only. Explanation for question answering relevance score.

#score

def score() -> ::Float
Returns
  • (::Float) — Output only. Question Answering Relevance score.