Closed d-plz closed 3 months ago
Hi @davidplasencia, if you check the release notes the converse
API for boto3 was released yesterday in 1.34.131.
You'll either need to update your lambda layer or bundle a more recent version of boto3, botocore, and s3transfer with your function. You can find full documentation on this in the Working with .zip file archives for Python Lambda functions developer guide.
Hi @davidplasencia, if you check the release notes the
converse
API for boto3 was released yesterday in 1.34.131.You'll either need to update your lambda layer or bundle a more recent version of boto3, botocore, and s3transfer with your function. You can find full documentation on this in the Working with .zip file archives for Python Lambda functions developer guide.
Thanks, Nate! I misread the version number and assumed that the console always had the latest version pre-installed.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
The
converse
method, which is documented to be part of the Amazon Bedrock Converse API, is not available in theBedrockRuntime
client in the AWS Lambda Python 3.12 runtime.Expected Behavior
Converse as a method based on https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/converse.html#
Current Behavior
ERROR: Can't invoke 'xyz'. Reason: 'BedrockRuntime' object has no attribute 'converse'
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.34.42
Environment details (OS name and version, etc.)
aws lambda console python runtime