Document AI V1 API - Class Google::Cloud::DocumentAI::V1::ProcessorVersion::GenAiModelInfo::FoundationGenAiModelInfo (v1.1.1)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::ProcessorVersion::GenAiModelInfo::FoundationGenAiModelInfo.

Information for a pretrained Google-managed foundation model.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#finetuning_allowed

def finetuning_allowed() -> ::Boolean
Returns
  • (::Boolean) — Whether finetuning is allowed for this base processor version.

#finetuning_allowed=

def finetuning_allowed=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether finetuning is allowed for this base processor version.
Returns
  • (::Boolean) — Whether finetuning is allowed for this base processor version.

#min_train_labeled_documents

def min_train_labeled_documents() -> ::Integer
Returns
  • (::Integer) — The minimum number of labeled documents in the training dataset required for finetuning.

#min_train_labeled_documents=

def min_train_labeled_documents=(value) -> ::Integer
Parameter
  • value (::Integer) — The minimum number of labeled documents in the training dataset required for finetuning.
Returns
  • (::Integer) — The minimum number of labeled documents in the training dataset required for finetuning.