tokenCount property

int tokenCount
final

The number of tokens that the model tokenizes the prompt into.

Always non-negative.

Implementation

final int tokenCount;