Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyntheticExample
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyntheticExample
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
A single instance of generated synthetic data. Each example is made up of one
or more named fields, as defined in OutputFieldSpec. These examples are used
as few-shot examples to show the model what you want (in
GenerateSyntheticDataRequest.examples) and to return generated examples in
the response (in GenerateSyntheticDataResponse.synthetic_examples).
Instance Attribute Summary collapse
-
#fields ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyntheticField>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SyntheticExample
constructor
A new instance of GoogleCloudAiplatformV1beta1SyntheticExample.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SyntheticExample
Returns a new instance of GoogleCloudAiplatformV1beta1SyntheticExample.
53189 53190 53191 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyntheticField>
Required. A list of fields that constitute an example.
Corresponds to the JSON property fields
53187 53188 53189 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53187 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
53194 53195 53196 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53194 def update!(**args) @fields = args[:fields] if args.key?(:fields) end |