Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GenerateSyntheticDataRequest.
Request message for DataFoundryService.GenerateSyntheticData.
Generated from protobuf message google.cloud.aiplatform.v1.GenerateSyntheticDataRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ task_description
↳ location
string
Required. The resource name of the Location to run the job. Format: projects/{project}/locations/{location}
↳ count
int
Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number.
↳ output_field_specs
↳ examples
array< SyntheticExample
>
Optional. A list of few-shot examples to guide the model's output style and format.
getTaskDescription
Generate data from a high-level task description.
hasTaskDescription
setTaskDescription
Generate data from a high-level task description.
$this
getLocation
Required. The resource name of the Location to run the job.
Format: projects/{project}/locations/{location}
string
setLocation
Required. The resource name of the Location to run the job.
Format: projects/{project}/locations/{location}
var
string
$this
getCount
Required. The number of synthetic examples to generate.
For this stateless API, the count is limited to a small number.
int
setCount
Required. The number of synthetic examples to generate.
For this stateless API, the count is limited to a small number.
var
int
$this
getOutputFieldSpecs
Required. The schema of the desired output, defined by a list of fields.
setOutputFieldSpecs
Required. The schema of the desired output, defined by a list of fields.
$this
getExamples
Optional. A list of few-shot examples to guide the model's output style and format.
setExamples
Optional. A list of few-shot examples to guide the model's output style and format.
$this
getStrategy
string

