Class GenerateSyntheticDataRequest (1.158.0)

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

Request message for DataFoundryService.GenerateSyntheticData.

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

Attributes

Name Description
task_description google.cloud.aiplatform_v1.types.TaskDescriptionStrategy
Generate data from a high-level task description. This field is a member of oneof_ strategy.
location str
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 MutableSequence[google.cloud.aiplatform_v1.types.OutputFieldSpec]
Required. The schema of the desired output, defined by a list of fields.
examples MutableSequence[google.cloud.aiplatform_v1.types.SyntheticExample]
Optional. A list of few-shot examples to guide the model's output style and format.

Methods

GenerateSyntheticDataRequest

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

Request message for DataFoundryService.GenerateSyntheticData.

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