LanguageModelToolTokenizationOptions
Options related to tokenization for a tool invocation.
Properties
Functions
Link copied to clipboard
abstract fun countTokens(text: String, token: CancellationToken = definedExternally): PromiseLike<JsInt>
Count the number of tokens in a message using the model specific tokenizer-logic.