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

GoogleCloudAiplatformV1NearestNeighborsNeighbor

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

A neighbor of the query vector.

interface GoogleCloudAiplatformV1NearestNeighborsNeighbor {
distance?: number;
entityId?: string;
}

§Properties

§
distance?: number
[src]

The distance between the neighbor and the query vector.

§
entityId?: string
[src]

The id of the similar entity.

§

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.