Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
Information about Generative AI model-based processor versions.
Instance Attribute Summary collapse
-
#custom_gen_ai_model_info ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
Information for a custom Generative AI model created by the user.
-
#foundation_gen_ai_model_info ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
Information for a pretrained Google-managed foundation model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo
constructor
A new instance of GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo
Returns a new instance of GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo.
5631 5632 5633 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5631 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_gen_ai_model_info ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
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.
Corresponds to the JSON property customGenAiModelInfo
5624 5625 5626 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5624 def custom_gen_ai_model_info @custom_gen_ai_model_info end |
#foundation_gen_ai_model_info ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
Information for a pretrained Google-managed foundation model.
Corresponds to the JSON property foundationGenAiModelInfo
5629 5630 5631 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5629 def foundation_gen_ai_model_info @foundation_gen_ai_model_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5636 5637 5638 5639 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5636 def update!(**args) @custom_gen_ai_model_info = args[:custom_gen_ai_model_info] if args.key?(:custom_gen_ai_model_info) @foundation_gen_ai_model_info = args[:foundation_gen_ai_model_info] if args.key?(:foundation_gen_ai_model_info) end |