Appearance
function tokenizeText(text: string | LlamaText, tokenizer: Tokenizer): Token[]
Tokenize the given input using the given tokenizer, whether it's a string or a LlamaText
string
LlamaText
text
tokenizer
Tokenizer
Token[]
Token
utils/LlamaText.ts:591