Skip to content

Commit 1ffae56

Browse files
author
AWS
committed
Amazon Bedrock Runtime Update: You can now reference images and documents stored in Amazon S3 when using InvokeModel and Converse APIs with Amazon Nova Lite and Nova Pro. This enables direct integration of S3-stored multimedia assets in your model requests without manual downloading or base64 encoding.
1 parent 6e14023 commit 1ffae56

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock Runtime",
4+
"contributor": "",
5+
"description": "You can now reference images and documents stored in Amazon S3 when using InvokeModel and Converse APIs with Amazon Nova Lite and Nova Pro. This enables direct integration of S3-stored multimedia assets in your model requests without manual downloading or base64 encoding."
6+
}

services/bedrockruntime/src/main/resources/codegen-resources/service-2.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,10 @@
987987
"bytes":{
988988
"shape":"DocumentSourceBytesBlob",
989989
"documentation":"<p>The raw bytes for the document. If you use an Amazon Web Services SDK, you don't need to encode the bytes in base64.</p>"
990+
},
991+
"s3Location":{
992+
"shape":"S3Location",
993+
"documentation":"<p>The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>"
990994
}
991995
},
992996
"documentation":"<p>Contains the content of a document.</p>",
@@ -1987,6 +1991,10 @@
19871991
"bytes":{
19881992
"shape":"ImageSourceBytesBlob",
19891993
"documentation":"<p>The raw image bytes for the image. If you use an AWS SDK, you don't need to encode the image bytes in base64.</p>"
1994+
},
1995+
"s3Location":{
1996+
"shape":"S3Location",
1997+
"documentation":"<p>The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>"
19901998
}
19911999
},
19922000
"documentation":"<p>The source for an image.</p>",
@@ -2726,7 +2734,7 @@
27262734
"documentation":"<p>If the bucket belongs to another AWS account, specify that account's ID.</p>"
27272735
}
27282736
},
2729-
"documentation":"<p>A storage location in an S3 bucket.</p>"
2737+
"documentation":"<p>A storage location in an Amazon S3 bucket.</p>"
27302738
},
27312739
"S3Uri":{
27322740
"type":"string",
@@ -3248,7 +3256,7 @@
32483256
},
32493257
"s3Location":{
32503258
"shape":"S3Location",
3251-
"documentation":"<p>The location of a video object in an S3 bucket.</p>"
3259+
"documentation":"<p>The location of a video object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>"
32523260
}
32533261
},
32543262
"documentation":"<p>A video source. You can upload a smaller video as a base64-encoded string as long as the encoded file is less than 25MB. You can also transfer videos up to 1GB in size from an S3 bucket.</p>",

0 commit comments

Comments
 (0)