Module: token
Contents
Functionsestimate_tokens- Estimate token count using the chars/4 heuristic.truncate_to_budget- Truncate text to fit within a token budget.
estimate_tokens - Estimate token count using the chars/4 heuristic.truncate_to_budget - Truncate text to fit within a token budget.