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

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

Information about Generative AI model-based processor versions.

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

Namespace

Google \ Cloud \ DocumentAI \ V1 \ ProcessorVersion

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ foundation_gen_ai_model_info GenAiModelInfo\FoundationGenAiModelInfo

Information for a pretrained Google-managed foundation model.

↳ custom_gen_ai_model_info GenAiModelInfo\CustomGenAiModelInfo

Information for a custom Generative AI model created by the user.

getFoundationGenAiModelInfo

Information for a pretrained Google-managed foundation model.

Returns
Type Description
GenAiModelInfo\FoundationGenAiModelInfo|null

hasFoundationGenAiModelInfo

setFoundationGenAiModelInfo

Information for a pretrained Google-managed foundation model.

Parameter
Name Description
var GenAiModelInfo\FoundationGenAiModelInfo
Returns
Type Description
$this

getCustomGenAiModelInfo

Information for a custom Generative AI model created by the user.

Returns
Type Description
GenAiModelInfo\CustomGenAiModelInfo|null

hasCustomGenAiModelInfo

setCustomGenAiModelInfo

Information for a custom Generative AI model created by the user.

Parameter
Name Description
var GenAiModelInfo\CustomGenAiModelInfo
Returns
Type Description
$this

getModelInfo

Returns
Type Description
string