Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::MetricxInstance.
Spec for MetricX instance - The fields used for evaluation are dependent on the MetricX version.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#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.
#reference
def reference() -> ::String
Returns
- (::String) — Optional. Ground truth used to compare against the prediction.
#reference=
def reference=(value) -> ::String
Parameter
- value (::String) — Optional. Ground truth used to compare against the prediction.
Returns
- (::String) — Optional. Ground truth used to compare against the prediction.
#source
def source() -> ::String
Returns
- (::String) — Optional. Source text in original language.
#source=
def source=(value) -> ::String
Parameter
- value (::String) — Optional. Source text in original language.
Returns
- (::String) — Optional. Source text in original language.