We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent release: https://docs.anthropic.com/en/docs/build-with-claude/token-counting
We currently count tokens according to the GPT tiktoken tokenizer. We should use the API instead
The text was updated successfully, but these errors were encountered:
Currently, we can update the count_message_tokens function to use this API.
count_message_tokens
count_string_tokens will use the old estimation.
count_string_tokens
Sorry, something went wrong.
Currently, we can update the count_message_tokens function to use this API. count_string_tokens will use the old estimation.
They removed client.count_tokens in version 0.39.0 (Source) so we cannot use count_string_tokens anymore.
client.count_tokens
0.39.0
the-praxs
Successfully merging a pull request may close this issue.
Recent release: https://docs.anthropic.com/en/docs/build-with-claude/token-counting
We currently count tokens according to the GPT tiktoken tokenizer. We should use the API instead
The text was updated successfully, but these errors were encountered: