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: update AWS Bedrock pricing and token metadata for Meta models #5024

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented Dec 17, 2024

Summary

I updated the AWS Bedrock pricing and token metadata for Meta's Llama models to ensure accurate pricing calculations and token limits.

  • Updated the Bedrock pricing values in api/models/tx.js for various Llama 2 and Llama 3 models, adding support for different naming patterns.
  • Updated the token limits in api/utils/tokens.js for Meta's Llama models, including additional patterns to cover multiple naming conventions.
  • Ensured comprehensive patterns to match the various ways Llama models are referenced, improving the accuracy of model matching.

Change Type

  • New feature (non-breaking change which adds functionality)

Testing

I tested the pricing calculations and token limit retrieval for the updated Llama models to ensure they return the correct values.

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • My changes do not introduce new warnings

@danny-avila danny-avila linked an issue Dec 17, 2024 that may be closed by this pull request
1 task
@danny-avila danny-avila merged commit 16eed5f into main Dec 17, 2024
2 checks passed
@danny-avila danny-avila deleted the feat/update-llama branch December 17, 2024 22:18
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.

[Bug]: Llama3.3 models default system max token
1 participant