Google Cloud Ai Platform V1 Client - Class SyntheticExample (1.38.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SyntheticExample.

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.

Generated from protobuf message google.cloud.aiplatform.v1.SyntheticExample

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fields array<SyntheticField>

Required. A list of fields that constitute an example.

getFields

Required. A list of fields that constitute an example.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFields

Required. A list of fields that constitute an example.

Parameter
Name Description
var array<SyntheticField>
Returns
Type Description
$this