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.
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1596 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.
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1596 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.
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1596 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 |