Interface protos.google.ai.generativelanguage.v1beta.ICountTokensResponse (2.6.0)

Properties of a CountTokensResponse.

Package

@google-ai/generativelanguage

Properties

cachedContentTokenCount

cachedContentTokenCount?: (number|null);

CountTokensResponse cachedContentTokenCount

totalTokens

totalTokens?: (number|null);

CountTokensResponse totalTokens