Skip to main content

estimate_message_tokens

Function estimate_message_tokens 

Source
pub fn estimate_message_tokens(msg: &Message) -> u64
Expand description

Estimate tokens for a single message.