You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have a TokenCounter utility that will count tokens for drivers other than Ollama. Ollama currently doesn't provide token information in it's responses: ollama/ollama#1716, but we could perhaps use a tokenizer to estimate token size?
This might be useful as well for customers to estimate a call before they run it.
The text was updated successfully, but these errors were encountered:
Currently we have a TokenCounter utility that will count tokens for drivers other than Ollama. Ollama currently doesn't provide token information in it's responses: ollama/ollama#1716, but we could perhaps use a tokenizer to estimate token size?
This might be useful as well for customers to estimate a call before they run it.
The text was updated successfully, but these errors were encountered: