CountTokensResponseTotalTokens Property

The number of tokens that the Model tokenizes the prompt into. Always non-negative.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public int TotalTokens { get; set; }

Property Value

Int32

See Also