Constructor ChatTokenUsage
- Namespace
- MailFathom.Application.Chat
- Assembly
- MailFathom.Application.dll
ChatTokenUsage(long, long)
What one call consumed, in the units a provider bills by.
public ChatTokenUsage(long InputTokens, long OutputTokens)
Parameters
InputTokenslongThe tokens the conversation sent occupied.
OutputTokenslongThe tokens the answer occupied.
Remarks
Two counts and nothing else. They are the only part of a chat call that is safe to log, meter, and keep — a count describes the size of what was sent without describing any of it — and they are what makes a chat provider's cost visible while it is being spent rather than at the end of a billing period.