Interface LanguageModelToolTokenizationOptions

Options related to tokenization for a tool invocation.

Stubbed

interface LanguageModelToolTokenizationOptions {
    tokenBudget: number;
    countTokens(text, token?): Thenable<number>;
}

Properties

Methods

Properties

tokenBudget: number

If known, the maximum number of tokens the tool should emit in its result.

Methods