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

Feature: Calculate usage info for streamed responses #46

Open
3 tasks
jschuur opened this issue Apr 18, 2023 · 2 comments
Open
3 tasks

Feature: Calculate usage info for streamed responses #46

jschuur opened this issue Apr 18, 2023 · 2 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed usage
Milestone

Comments

@jschuur
Copy link
Owner

jschuur commented Apr 18, 2023

Streamed responses don't include usage info in the response. Would have to calculate this via [tiktoken])(https://github.com/dqbd/tiktoken) e.g., but that would be a big dependency for the project.

Alternatively, count chunks manually for rough estimate (more info).

@jschuur jschuur added enhancement New feature or request help wanted Extra attention is needed usage labels Apr 18, 2023
@jschuur jschuur moved this to Upcoming in chatgpt-repl Roadmap Apr 18, 2023
@jschuur jschuur added the bug Something isn't working label Apr 18, 2023
@jschuur jschuur moved this from Upcoming to Next in chatgpt-repl Roadmap Apr 25, 2023
@jschuur jschuur added this to the 0.6.0 milestone Apr 25, 2023
@jschuur
Copy link
Owner Author

jschuur commented Jan 12, 2024

@jschuur
Copy link
Owner Author

jschuur commented Jun 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed usage
Projects
Development

No branches or pull requests

1 participant