Class: Google::Cloud::AIPlatform::V1::MetricxSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::MetricxSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb
Overview
Spec for MetricX metric.
Defined Under Namespace
Modules: MetricxVersion
Instance Attribute Summary collapse
-
#source_language ⇒ ::String
Optional.
-
#target_language ⇒ ::String
Optional.
-
#version ⇒ ::Google::Cloud::AIPlatform::V1::MetricxSpec::MetricxVersion
Required.
Instance Attribute Details
#source_language ⇒ ::String
Returns Optional. Source language in BCP-47 format.
1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1496 class MetricxSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MetricX Version options. module MetricxVersion # MetricX version unspecified. METRICX_VERSION_UNSPECIFIED = 0 # MetricX 2024 (2.6) for translation + reference (reference-based). METRICX_24_REF = 1 # MetricX 2024 (2.6) for translation + source (QE). METRICX_24_SRC = 2 # MetricX 2024 (2.6) for translation + source + reference # (source-reference-combined). METRICX_24_SRC_REF = 3 end end |
#target_language ⇒ ::String
Returns Optional. Target language in BCP-47 format. Covers both prediction and reference.
1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1496 class MetricxSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MetricX Version options. module MetricxVersion # MetricX version unspecified. METRICX_VERSION_UNSPECIFIED = 0 # MetricX 2024 (2.6) for translation + reference (reference-based). METRICX_24_REF = 1 # MetricX 2024 (2.6) for translation + source (QE). METRICX_24_SRC = 2 # MetricX 2024 (2.6) for translation + source + reference # (source-reference-combined). METRICX_24_SRC_REF = 3 end end |
#version ⇒ ::Google::Cloud::AIPlatform::V1::MetricxSpec::MetricxVersion
Returns Required. Which version to use for evaluation.
1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1496 class MetricxSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MetricX Version options. module MetricxVersion # MetricX version unspecified. METRICX_VERSION_UNSPECIFIED = 0 # MetricX 2024 (2.6) for translation + reference (reference-based). METRICX_24_REF = 1 # MetricX 2024 (2.6) for translation + source (QE). METRICX_24_SRC = 2 # MetricX 2024 (2.6) for translation + source + reference # (source-reference-combined). METRICX_24_SRC_REF = 3 end end |