Class Neighbor (1.48.0)

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

A neighbor of the query vector.

Attributes

NameDescription
entity_id str
The id of the similar entity.
distance float
The distance between the neighbor and the query vector.
entity_key_values google.cloud.aiplatform_v1.types.FetchFeatureValuesResponse
The attributes of the neighbor, e.g. filters, crowding and metadata Note that full entities are returned only when "return_full_entity" is set to true. Otherwise, only the "entity_id" and "distance" fields are populated.

Methods

Neighbor

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

A neighbor of the query vector.