Vertex AI v1 API - Class GenerateSyntheticDataRequest (3.45.0)

public sealed class GenerateSyntheticDataRequest : IMessage<GenerateSyntheticDataRequest>, IEquatable<GenerateSyntheticDataRequest>, IDeepCloneable<GenerateSyntheticDataRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1 API class GenerateSyntheticDataRequest.

Request message for DataFoundryService.GenerateSyntheticData.

Inheritance

object > GenerateSyntheticDataRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

GenerateSyntheticDataRequest()

public GenerateSyntheticDataRequest()

GenerateSyntheticDataRequest(GenerateSyntheticDataRequest)

public GenerateSyntheticDataRequest(GenerateSyntheticDataRequest other)
Parameter
Name Description
other GenerateSyntheticDataRequest

Properties

Count

public int Count { get; set; }

Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number.

Property Value
Type Description
int

Examples

public RepeatedField<SyntheticExample> Examples { get; }

Optional. A list of few-shot examples to guide the model's output style and format.

Property Value
Type Description
RepeatedFieldSyntheticExample

Location

public string Location { get; set; }

Required. The resource name of the Location to run the job. Format: projects/{project}/locations/{location}

Property Value
Type Description
string

LocationAsLocationName

public LocationName LocationAsLocationName { get; set; }

LocationName-typed view over the Location resource name property.

Property Value
Type Description
LocationName

OutputFieldSpecs

public RepeatedField<OutputFieldSpec> OutputFieldSpecs { get; }

Required. The schema of the desired output, defined by a list of fields.

Property Value
Type Description
RepeatedFieldOutputFieldSpec

StrategyCase

public GenerateSyntheticDataRequest.StrategyOneofCase StrategyCase { get; }
Property Value
Type Description
GenerateSyntheticDataRequestStrategyOneofCase

TaskDescription

public TaskDescriptionStrategy TaskDescription { get; set; }

Generate data from a high-level task description.

Property Value
Type Description
TaskDescriptionStrategy