Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1FindNeighborsResponseNeighbor

import type { GoogleCloudAiplatformV1FindNeighborsResponseNeighbor } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

A neighbor of the query vector.

interface GoogleCloudAiplatformV1FindNeighborsResponseNeighbor {
distance?: number;
sparseDistance?: number;
}

§Properties

§

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?: number
[src]

The distance between the neighbor and the dense embedding query.

§
sparseDistance?: number
[src]

The distance between the neighbor and the query sparse_embedding.