Interface CountTokensResponse (0.4.0)

Response returned from countTokens method. {number} - totalTokens. The total number of tokens counted across all instances from the request. {number} - [totalBillableCharacters]. The total number of billable characters counted across all instances from the request.

Package

@google-cloud/vertexai

Properties

totalBillableCharacters

totalBillableCharacters?: number;

totalTokens

totalTokens: number;