estimate_tokens

Function estimate_tokens 

Source
pub fn estimate_tokens(s: &str) -> usize
Expand description

Estimate token count for a string (rough approximation)