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: Migrate from Bedrock invoke_model API to converse API #6503

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

shreyabsridhar
Copy link
Contributor

Summary

  • In bedrock.py: migrates from the invoke_model API to the converse API
  • Now able to call llm_classify with nova models
  • Regression tested older models in test_bedrock_llm_classify.ipynb:
Screenshot 2025-02-21 at 11 08 38 AM

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 21, 2025
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@shreyabsridhar shreyabsridhar changed the title fix(Bedrock) Migrate from invoke_model API to converse API fix: Migrate from Bedrock invoke_model API to converse API Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Status: 📘 Todo
Development

Successfully merging this pull request may close these issues.

1 participant