Class GenAiModelInfo (2.34.0)

GenAiModelInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about Generative AI model-based processor versions.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
foundation_gen_ai_model_info google.cloud.documentai_v1.types.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo
Information for a pretrained Google-managed foundation model. This field is a member of oneof_ model_info.
custom_gen_ai_model_info google.cloud.documentai_v1.types.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo
Information for a custom Generative AI model created by the user. This field is a member of oneof_ model_info.

Classes

CustomGenAiModelInfo

CustomGenAiModelInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

FoundationGenAiModelInfo

FoundationGenAiModelInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information for a pretrained Google-managed foundation model.