Class Examples (1.48.0)

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

Example-based explainability that returns the nearest neighbors from the provided dataset.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

NameDescription
example_gcs_source google.cloud.aiplatform_v1beta1.types.Examples.ExampleGcsSource
The Cloud Storage input instances. This field is a member of oneof_ source.
nearest_neighbor_search_config google.protobuf.struct_pb2.Value
The full configuration for the generated index, the semantics are the same as metadata and should match NearestNeighborSearchConfig __. This field is a member of oneof_ config.
presets google.cloud.aiplatform_v1beta1.types.Presets
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality. This field is a member of oneof_ config.
gcs_source google.cloud.aiplatform_v1beta1.types.GcsSource
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
neighbor_count int
The number of neighbors to return when querying for examples.

Classes

ExampleGcsSource

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

The Cloud Storage input instances.

Methods

Examples

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

Example-based explainability that returns the nearest neighbors from the provided dataset.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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