Class: Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/processor.rb
Overview
Information about Generative AI model-based processor versions.
Defined Under Namespace
Classes: CustomGenAiModelInfo, FoundationGenAiModelInfo
Instance Attribute Summary collapse
-
#custom_gen_ai_model_info ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo
Information for a custom Generative AI model created by the user.
-
#foundation_gen_ai_model_info ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::FoundationGenAiModelInfo
Information for a pretrained Google-managed foundation model.
Instance Attribute Details
#custom_gen_ai_model_info ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo
Returns Information for a custom Generative AI model created by the user.
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'proto_docs/google/cloud/documentai/v1beta3/processor.rb', line 96 class GenAiModelInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information for a pretrained Google-managed foundation model. # @!attribute [rw] finetuning_allowed # @return [::Boolean] # Whether finetuning is allowed for this base processor version. # @!attribute [rw] min_train_labeled_documents # @return [::Integer] # The minimum number of labeled documents in the training dataset # required for finetuning. class FoundationGenAiModelInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] custom_model_type # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo::CustomModelType] # The type of custom model created by the user. # @!attribute [rw] base_processor_version_id # @return [::String] # The base processor version ID for the custom model. 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 end |
#foundation_gen_ai_model_info ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::FoundationGenAiModelInfo
Returns Information for a pretrained Google-managed foundation model.
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'proto_docs/google/cloud/documentai/v1beta3/processor.rb', line 96 class GenAiModelInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information for a pretrained Google-managed foundation model. # @!attribute [rw] finetuning_allowed # @return [::Boolean] # Whether finetuning is allowed for this base processor version. # @!attribute [rw] min_train_labeled_documents # @return [::Integer] # The minimum number of labeled documents in the training dataset # required for finetuning. class FoundationGenAiModelInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] custom_model_type # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo::CustomModelType] # The type of custom model created by the user. # @!attribute [rw] base_processor_version_id # @return [::String] # The base processor version ID for the custom model. 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 end |