Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GenerateSyntheticDataRequest.
Request message for DataFoundryService.GenerateSyntheticData.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#count
def count() -> ::Integer
Returns
- (::Integer) — Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number.
#count=
def count=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number.
Returns
- (::Integer) — Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number.
#examples
def examples() -> ::Array<::Google::Cloud::AIPlatform::V1::SyntheticExample>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::SyntheticExample>) — Optional. A list of few-shot examples to guide the model's output style and format.
#examples=
def examples=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::SyntheticExample>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::SyntheticExample>) — Optional. A list of few-shot examples to guide the model's output style and format.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::SyntheticExample>) — Optional. A list of few-shot examples to guide the model's output style and format.
#location
def location() -> ::String
Returns
-
(::String) — Required. The resource name of the Location to run the job.
Format:
projects/{project}/locations/{location}
#location=
def location=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Location to run the job.
Format:
projects/{project}/locations/{location}
Returns
-
(::String) — Required. The resource name of the Location to run the job.
Format:
projects/{project}/locations/{location}
#output_field_specs
def output_field_specs() -> ::Array<::Google::Cloud::AIPlatform::V1::OutputFieldSpec>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::OutputFieldSpec>) — Required. The schema of the desired output, defined by a list of fields.
#output_field_specs=
def output_field_specs=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::OutputFieldSpec>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::OutputFieldSpec>) — Required. The schema of the desired output, defined by a list of fields.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::OutputFieldSpec>) — Required. The schema of the desired output, defined by a list of fields.
#task_description
def task_description() -> ::Google::Cloud::AIPlatform::V1::TaskDescriptionStrategy
Returns
- (::Google::Cloud::AIPlatform::V1::TaskDescriptionStrategy) — Generate data from a high-level task description.
#task_description=
def task_description=(value) -> ::Google::Cloud::AIPlatform::V1::TaskDescriptionStrategy
Parameter
- value (::Google::Cloud::AIPlatform::V1::TaskDescriptionStrategy) — Generate data from a high-level task description.
Returns
- (::Google::Cloud::AIPlatform::V1::TaskDescriptionStrategy) — Generate data from a high-level task description.