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

GoogleCloudAiplatformV1ModalityTokenCount

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

Represents token counting info for a single modality.

interface GoogleCloudAiplatformV1ModalityTokenCount {
modality?:
| "MODALITY_UNSPECIFIED"
| "TEXT"
| "IMAGE"
| "VIDEO"
| "AUDIO"
| "DOCUMENT";
tokenCount?: number;
}

§Properties

§
modality?: "MODALITY_UNSPECIFIED" | "TEXT" | "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT"
[src]

The modality associated with this token count.

§
tokenCount?: number
[src]

Number of tokens.