-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bedrock Claude 3.5 Sonnet v2 is not supporting new attachments (PDF) #4335
Comments
Thanks for reaching out. This use case is currently not supported. The Bedrock team would need to add support in order to enable AWS SDKs like Boto3 and the Java SDK to support this, as they maintain the underlying APIs like InvokeModel. I searched internally and found that the team is already tracking this feature request in their backlog. We cannot guarantee if or when a service would implement a new feature like this, but I recommend referring to the blog and CHANGELOG for updates going forward. I will close this as not planned on the Boto3 side because the Bedrock team would need to implement this change. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Just for clarification, AWS does not support the beta features of Anthropic? Will this start working when Anthropic make this feature non-beta? |
I’m excited for Bedrock to add PDF file support for Anthropic models. |
Please upgrade sdk to latest. |
Hi, I just upgraded my boto3 to boto3-1.35.59 but I still see the same issue, PDF not being supported. Using the same code as an example I am getting:
Is there any planned date to update the boto3 library as well? I cannot see this change in the Changelog. Many thanks! |
Please provide an update when this issue is addressed. |
Describe the bug
Recently Anthropic has released a new version of Claude 3.5 Sonnet v2 and it's also available via Amazon Bedrock. Breaking changes in it includes the support of PDF attachments (earlier it was limited to images). This is in beta state and can be enabled with
anthropic-beta
header (See docs). But when I use their model via Bedrock, it is giving me error.Regression Issue
Expected Behavior
PDF support should work in Anthropic's Claude 3.5 Sonnet v2 model with
anthropic-beta
header.Current Behavior
Error:
Reproduction Steps
Python
Java
Possible Solution
I have tried using both Python and Java SDK so it seems to be not a problem in SDK, it's more related to the internal implementation. I have also raised an issue on Anthropic's repository. Either the AWS is not passing my
anthropic-beta
header to Anthropic or is running this content type validation on its own.I don't know where to report this internal issue so I'm reporting it here. Please forward my request to the internal team.
Additional Information/Context
No response
SDK version used
Environment details (OS name and version, etc.)
macOS 15.0.1
The text was updated successfully, but these errors were encountered: