Function estimate_tokens

Source
pub fn estimate_tokens(text: &str) -> i32
Expand description

Estimate the number of tokens in a given text.