UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
A response from CountTokens. More...
Public Attributes | |
int | TotalTokens |
The number of tokens that the model tokenizes the prompt into. | |
A response from CountTokens.
int Uralstech.UGemini.Models.CountTokens.GeminiTokenCountResponse.TotalTokens |
The number of tokens that the model tokenizes the prompt into.
Always non-negative. When cachedContent is set, this is still the total effective prompt size.I.e.this includes the number of tokens in the cached content.
Cached content is not supported in this package.