Interface protos.google.ai.generativelanguage.v1alpha.ICountTokensResponse (2.9.0)

Properties of a CountTokensResponse.

Package

@google-ai/generativelanguage

Properties

cachedContentTokenCount

cachedContentTokenCount?: (number|null);

CountTokensResponse cachedContentTokenCount

totalTokens

totalTokens?: (number|null);

CountTokensResponse totalTokens