AutoBE
    Preparing search index...

    Interface IAgenticaTokenUsageJson

    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.

    • Type of IAgenticaProps.vendor LLM vendor
    • IAgenticaVendor.model in the LLM vendor.
    • Just by a policy change of the LLM vendor company.

    Samchon

    interface IAgenticaTokenUsageJson {
        aggregate: IComponent;
        call: IComponent;
        cancel: IComponent;
        describe: IComponent;
        initialize: IComponent;
        select: IComponent;
    }
    Index

    Properties

    aggregate: IComponent

    Aggregated token usage.

    call: IComponent

    Token usage of function caller agent.

    cancel: IComponent

    Token usage of function canceler agent.

    describe: IComponent

    Token usage of function calling describer agent.

    initialize: IComponent

    Token uasge of initializer agent.

    select: IComponent

    Token usage of function selector agent.