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

GoogleCloudAiplatformV1CountTokensRequest

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

Request message for PredictionService.CountTokens.

interface GoogleCloudAiplatformV1CountTokensRequest {
instances?: any[];
model?: string;
}

§Properties

§

Required. Input content.

§
instances?: any[]
[src]

Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.

§
model?: string
[src]

Required. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*\/models/*