llamaindexfunctionsFunction: truncateMaxTokens()On this pageFunction: truncateMaxTokens() truncateMaxTokens(tokenizer, value, maxTokens): string Parameters • tokenizer: Tokenizers • value: string • maxTokens: number Returns string Defined in packages/core/embeddings/dist/embeddings/index.d.ts:66