Class GeminiTemplateConfig (1.86.0)

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

Template configuration to create Gemini examples from a multimodal dataset.

Attributes

Name Description
gemini_example google.cloud.aiplatform_v1beta1.types.GeminiExample
Required. The template that will be used for assembling the request to use for downstream applications.
field_mapping MutableMapping[str, str]
Required. Map of template params to the columns in the dataset table.

Classes

FieldMappingEntry

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

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Methods

GeminiTemplateConfig

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

Template configuration to create Gemini examples from a multimodal dataset.