Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::MetricxSpec.
Spec for MetricX metric.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#source_language
def source_language() -> ::String
Returns
- (::String) — Optional. Source language in BCP-47 format.
#source_language=
def source_language=(value) -> ::String
Parameter
- value (::String) — Optional. Source language in BCP-47 format.
Returns
- (::String) — Optional. Source language in BCP-47 format.
#target_language
def target_language() -> ::String
Returns
- (::String) — Optional. Target language in BCP-47 format. Covers both prediction and reference.
#target_language=
def target_language=(value) -> ::String
Parameter
- value (::String) — Optional. Target language in BCP-47 format. Covers both prediction and reference.
Returns
- (::String) — Optional. Target language in BCP-47 format. Covers both prediction and reference.
#version
def version() -> ::Google::Cloud::AIPlatform::V1::MetricxSpec::MetricxVersion
Returns
- (::Google::Cloud::AIPlatform::V1::MetricxSpec::MetricxVersion) — Required. Which version to use for evaluation.
#version=
def version=(value) -> ::Google::Cloud::AIPlatform::V1::MetricxSpec::MetricxVersion
Parameter
- value (::Google::Cloud::AIPlatform::V1::MetricxSpec::MetricxVersion) — Required. Which version to use for evaluation.
Returns
- (::Google::Cloud::AIPlatform::V1::MetricxSpec::MetricxVersion) — Required. Which version to use for evaluation.