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: use token count instead of character count in vertex embeddings … #657

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

VisargD
Copy link
Collaborator

@VisargD VisargD commented Oct 3, 2024

…response usage object

Title:

  • Brief Description of Changes

Motivation: (optional)

  • To keep the response structure streamlined across all providers and to avoid confusion between token count and character count in response usage object

Related Issues: (optional)

@VisargD VisargD merged commit 4090580 into main Oct 3, 2024
1 check passed
@VisargD VisargD deleted the fix/vertex-embeddings-usage-token branch October 3, 2024 21:57
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.

Use token count instead of character count in vertex embeddings response
1 participant