Type alias TokenInfo

TokenInfo: {
    tokenCount: number;
    tokenLimit: number;
}

Token information for a message.

Type declaration

  • tokenCount: number

    Number of tokens in the message.

  • tokenLimit: number

    Maximum number of tokens allowed for the message per the model.

Generated using TypeDoc