Interface CachedContentUsageMetadata (1.9.0)

Metadata on the usage of the cached content.

Package

@google-cloud/vertexai

Properties

audioDurationSeconds

audioDurationSeconds?: number;

Duration of audio in seconds.

imageCount

imageCount?: number;

Number of images.

textCount

textCount?: number;

Number of text characters.

totalTokenCount

totalTokenCount?: number;

Total number of tokens that the cached content consumes.

videoDurationSeconds

videoDurationSeconds?: number;

Duration of video in seconds.