NoTokenizer

A tokenizer implementation that always returns 0.

This is useful when token counting is not needed or when you want to save computational resources by skipping token counting.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun countTokens(text: String): Int

Always returns 0, regardless of the input text.