promptTokenCount

public abstract UsageMetadata.Builder promptTokenCount(Integer promptTokenCount)

Setter for promptTokenCount.

promptTokenCount: Number of tokens in the prompt. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.