Class SyntheticExample (1.158.0)

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

Represents a single synthetic example, composed of multiple fields. Used for providing few-shot examples in the request and for returning generated examples in the response.

Attribute

Name Description
fields MutableSequence[google.cloud.aiplatform_v1.types.SyntheticField]
Required. A list of fields that constitute an example.

Methods

SyntheticExample

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

Represents a single synthetic example, composed of multiple fields. Used for providing few-shot examples in the request and for returning generated examples in the response.