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

GoogleCloudAiplatformV1Presets

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

Preset configuration for example-based explanations

interface GoogleCloudAiplatformV1Presets {
modality?:
| "MODALITY_UNSPECIFIED"
| "IMAGE"
| "TEXT"
| "TABULAR";
query?: "PRECISE" | "FAST";
}

§Properties

§
modality?: "MODALITY_UNSPECIFIED" | "IMAGE" | "TEXT" | "TABULAR"
[src]

The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.

§
query?: "PRECISE" | "FAST"
[src]

Preset option controlling parameters for speed-precision trade-off when querying for examples. If omitted, defaults to PRECISE.