Skip to content
New issue

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

[tests] add tiktoken to show token count in debug / verbose mode #29

Closed
signebedi opened this issue Mar 28, 2023 · 0 comments
Closed

[tests] add tiktoken to show token count in debug / verbose mode #29

signebedi opened this issue Mar 28, 2023 · 0 comments

Comments

@signebedi
Copy link
Owner

Users may have a legitimate desire to see token counts in verbose mode to help keep track of API usage.

https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb

In fact, it may even be useful to write this to the output.txt file to track usage over time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant