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

Add .token_count() for estimating input tokens #23

Merged
merged 16 commits into from
Dec 19, 2024
Merged

Add .token_count() for estimating input tokens #23

merged 16 commits into from
Dec 19, 2024

Conversation

cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Dec 17, 2024

No description provided.

@cpsievert cpsievert changed the title Improvements to token usage Add .token_count() for estimating input tokens Dec 18, 2024
chatlas/_chat.py Outdated Show resolved Hide resolved
chatlas/_chat.py Outdated Show resolved Hide resolved
@cpsievert cpsievert marked this pull request as ready for review December 19, 2024 23:29
@cpsievert cpsievert merged commit 200e26c into main Dec 19, 2024
1 of 6 checks passed
@cpsievert cpsievert deleted the token-usage branch December 19, 2024 23:38
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.

1 participant