Google Cloud Document Ai V1 Client - Class CustomGenAiModelInfo (2.1.2)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class CustomGenAiModelInfo.

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.

Generated from protobuf message google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo

Namespace

Google \ Cloud \ DocumentAI \ V1 \ ProcessorVersion \ GenAiModelInfo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_model_type int

The type of custom model created by the user.

↳ base_processor_version_id string

The base processor version ID for the custom model.

getCustomModelType

The type of custom model created by the user.

Returns
Type Description
int

setCustomModelType

The type of custom model created by the user.

Parameter
Name Description
var int
Returns
Type Description
$this

getBaseProcessorVersionId

The base processor version ID for the custom model.

Returns
Type Description
string

setBaseProcessorVersionId

The base processor version ID for the custom model.

Parameter
Name Description
var string
Returns
Type Description
$this