Class: Google::Cloud::DocumentAI::V1::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo

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

Overview

Information for a custom Generative AI model created by the user. These are created with Create New Version in either the Call foundation model or Fine tuning tabs.

Defined Under Namespace

Modules: CustomModelType

Instance Attribute Summary collapse

Instance Attribute Details

#base_processor_version_id::String

Returns The base processor version ID for the custom model.

Returns:

  • (::String)

    The base processor version ID for the custom model.



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/documentai/v1/processor.rb', line 122

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

  # The type of custom model created by the user.
  module CustomModelType
    # The model type is unspecified.
    CUSTOM_MODEL_TYPE_UNSPECIFIED = 0

    # The model is a versioned foundation model.
    VERSIONED_FOUNDATION = 1

    # The model is a finetuned foundation model.
    FINE_TUNED = 2
  end
end

#custom_model_type::Google::Cloud::DocumentAI::V1::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo::CustomModelType

Returns The type of custom model created by the user.



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/documentai/v1/processor.rb', line 122

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

  # The type of custom model created by the user.
  module CustomModelType
    # The model type is unspecified.
    CUSTOM_MODEL_TYPE_UNSPECIFIED = 0

    # The model is a versioned foundation model.
    VERSIONED_FOUNDATION = 1

    # The model is a finetuned foundation model.
    FINE_TUNED = 2
  end
end