totalTokens property
int
get
totalTokens
Returns the total tokens used in the prompt and completion
Implementation
int get totalTokens => promptTokens + completionTokens;
Returns the total tokens used in the prompt and completion
int get totalTokens => promptTokens + completionTokens;