Class Example (1.87.0)

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

A single example to upload or read from the Example Store.

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

Attributes

Name Description
stored_contents_example google.cloud.aiplatform_v1beta1.types.StoredContentsExample
An example of chat history and its expected outcome to be used with GenerateContent. This field is a member of oneof_ example_type.
display_name str
Optional. The display name for Example.
example_id str
Optional. Immutable. Unique identifier of an example. If not specified when upserting new examples, the example_id will be generated.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this Example was created.

Methods

Example

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

A single example to upload or read from the Example Store.

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