Class: Google::Cloud::AIPlatform::V1::CometSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb

Overview

Spec for Comet metric.

Defined Under Namespace

Modules: CometVersion

Instance Attribute Summary collapse

Instance Attribute Details

#source_language::String

Returns Optional. Source language in BCP-47 format.

Returns:

  • (::String)

    Optional. Source language in BCP-47 format.



1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1432

class CometSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Comet version options.
  module CometVersion
    # Comet version unspecified.
    COMET_VERSION_UNSPECIFIED = 0

    # Comet 22 for translation + source + reference
    # (source-reference-combined).
    COMET_22_SRC_REF = 2
  end
end

#target_language::String

Returns 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.



1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1432

class CometSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Comet version options.
  module CometVersion
    # Comet version unspecified.
    COMET_VERSION_UNSPECIFIED = 0

    # Comet 22 for translation + source + reference
    # (source-reference-combined).
    COMET_22_SRC_REF = 2
  end
end

#version::Google::Cloud::AIPlatform::V1::CometSpec::CometVersion

Returns Required. Which version to use for evaluation.

Returns:



1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1432

class CometSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Comet version options.
  module CometVersion
    # Comet version unspecified.
    COMET_VERSION_UNSPECIFIED = 0

    # Comet 22 for translation + source + reference
    # (source-reference-combined).
    COMET_22_SRC_REF = 2
  end
end