View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FindNeighborsResponseNeighbor (google_api_ai_platform v0.13.0)
A neighbor of the query vector.
Attributes
-
datapoint
(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapoint.t
, default:nil
) - The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated. -
distance
(type:float()
, default:nil
) - The distance between the neighbor and the dense embedding query. -
sparseDistance
(type:float()
, default:nil
) - The distance between the neighbor and the query sparse_embedding.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FindNeighborsResponseNeighbor{ datapoint: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapoint.t() | nil, distance: float() | nil, sparseDistance: float() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.