@maxim_mazurok/gapi.client.firebaseml-v2beta
Advanced tools
Comparing version 0.0.20250121 to 0.0.20250122
@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Firebase ML API v2beta 0.0 */ | ||
// Generated from: https://firebaseml.googleapis.com/$discovery/rest?version=v2beta | ||
// Revision: 20250121 | ||
// Revision: 20250122 | ||
@@ -113,2 +113,4 @@ /// <reference types="gapi.client" /> | ||
interface GoogleCloudAiplatformV1beta1CountTokensResponse { | ||
/** Output only. List of modalities that were processed in the request input. */ | ||
promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[]; | ||
/** The total number of billable characters counted across all instances from the request. */ | ||
@@ -210,6 +212,12 @@ totalBillableCharacters?: number; | ||
cachedContentTokenCount?: number; | ||
/** Output only. List of modalities of the cached content in the request input. */ | ||
cacheTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[]; | ||
/** Number of tokens in the response(s). */ | ||
candidatesTokenCount?: number; | ||
/** Output only. List of modalities that were returned in the response. */ | ||
candidatesTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[]; | ||
/** Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content. */ | ||
promptTokenCount?: number; | ||
/** Output only. List of modalities that were processed in the request input. */ | ||
promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[]; | ||
/** Total token count for prompt and response candidates. */ | ||
@@ -340,2 +348,8 @@ totalTokenCount?: number; | ||
} | ||
interface GoogleCloudAiplatformV1beta1ModalityTokenCount { | ||
/** The modality associated with this token count. */ | ||
modality?: string; | ||
/** Number of tokens. */ | ||
tokenCount?: number; | ||
} | ||
interface GoogleCloudAiplatformV1beta1Part { | ||
@@ -342,0 +356,0 @@ /** Optional. Result of executing the [ExecutableCode]. */ |
{ | ||
"name": "@maxim_mazurok/gapi.client.firebaseml-v2beta", | ||
"version": "0.0.20250121", | ||
"version": "0.0.20250122", | ||
"description": "TypeScript typings for Firebase ML API v2beta", | ||
@@ -5,0 +5,0 @@ "repository": { |
48328
771