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

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

Spec for groundedness instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#context

def context() -> ::String
Returns
  • (::String) — Required. Background information provided in context used to compare against the prediction.

#context=

def context=(value) -> ::String
Parameter
  • value (::String) — Required. Background information provided in context used to compare against the prediction.
Returns
  • (::String) — Required. Background information provided in context used to compare against the prediction.

#prediction

def prediction() -> ::String
Returns
  • (::String) — Required. Output of the evaluated model.

#prediction=

def prediction=(value) -> ::String
Parameter
  • value (::String) — Required. Output of the evaluated model.
Returns
  • (::String) — Required. Output of the evaluated model.