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

feat: add token count for function call #9

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

ChuxiJ
Copy link
Contributor

@ChuxiJ ChuxiJ commented Oct 27, 2023

see #8

ChuxiJ and others added 2 commits October 27, 2023 11:19
not raise exception but just return the schema type
@KillianLucas
Copy link
Owner

Great work @ChuxiJ, seriously. This is a hard but common problem.

It might make more sense to break this out into a library dedicated to counting tokens, which tokentrim could depend on. Let me know if you'd be interested in creating that package!

@KillianLucas KillianLucas merged commit 587996c into KillianLucas:main Nov 3, 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

Successfully merging this pull request may close these issues.

2 participants