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

fix / verify count_tokens count for function calls #4

Open
lalalune opened this issue Aug 8, 2023 · 0 comments
Open

fix / verify count_tokens count for function calls #4

lalalune opened this issue Aug 8, 2023 · 0 comments

Comments

@lalalune
Copy link
Member

lalalune commented Aug 8, 2023

Function call count_tokens counts might not be correct, this needs to be tested

Tests should already be counting tokens. We need to make a function_completion which takes a function call and count the tokens for it.

https://community.openai.com/t/how-to-calculate-the-tokens-when-using-function-call/266573

@lalalune lalalune changed the title fix get_tokens count for function calls fix / verify count_tokens count for function calls Aug 8, 2023
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