Enter to send·Shift+Enter new line
Get the number of tokens in the content.
getNumTokens(content: string, options: TextTokenizeParameters): Promise<number>
content
string
The content to get the number of tokens for.
options
TextTokenizeParameters