Optional
props: IAgenticaTokenUsageJsonReadonly
aggregateAggregated token usage.
Readonly
callToken usage of function caller agent.
Readonly
cancelToken usage of function canceler agent.
Readonly
describeToken usage of function calling describer agent.
Readonly
initializeToken uasge of initializer agent.
Readonly
selectToken usage of function selector agent.
Static
plusStatic
zero
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.Author
Samchon