Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SyntheticExample.
Represents a single synthetic example, composed of multiple fields. Used for providing few-shot examples in the request and for returning generated examples in the response.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#fields
def fields() -> ::Array<::Google::Cloud::AIPlatform::V1::SyntheticField>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::SyntheticField>) — Required. A list of fields that constitute an example.
#fields=
def fields=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::SyntheticField>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::SyntheticField>) — Required. A list of fields that constitute an example.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::SyntheticField>) — Required. A list of fields that constitute an example.