UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.CountTokens.GeminiTokenCountResponse Class Reference

A response from CountTokens. More...

Public Attributes

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

Detailed Description

A response from CountTokens.

Member Data Documentation

◆ TotalTokens

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.


The documentation for this class was generated from the following file: