Token usage information from the A.I. chatbot.

IAgenticaTokenUsageJson is a structure representing the token usage information from the Agentica class. And you can get the token usage information by calling the Agentica.getTokenUsage method.

For reference, IAgenticaTokenUsageJson provides only the token usage information, and does not contain any price or cost information. It is because the price or cost can be changed by below reasons.

Samchon

Implements

Constructors

Properties

Aggregated token usage.

Token usage of function caller agent.

Token usage of function canceler agent.

Token usage of function calling describer agent.

Token uasge of initializer agent.

Token usage of function selector agent.

Methods