Class ChatTokenUsage
- Namespace
- MailFathom.Application.Chat
- Assembly
- MailFathom.Application.dll
What one call consumed, in the units a provider bills by.
public sealed record ChatTokenUsage : IEquatable<ChatTokenUsage>
- Inheritance
-
ChatTokenUsage
- Implements
- Inherited Members
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.
Constructors
- ChatTokenUsage(long, long)
What one call consumed, in the units a provider bills by.
Properties
- InputTokens
The tokens the conversation sent occupied.
- OutputTokens
The tokens the answer occupied.