Skip to content

Is possible AWS Bedrock Agent return an image from the data source ?

0

My data source / knowledge base have images and videos encoded with base64 and respective URLs. Is possible the agent return these images and videos on response ? I need the response in image format not the text understanded from the image. I know it give the source for documents, but I need the visual images and videos. Is it possible ?

1 Answer
1

Hello.

I think it is possible to convert base64 format images to PNG etc. and save them to S3 using Bedrock Agent's Lambda.
How about generating a signed URL to download the image after it has been stored in S3?
If the response contains a signed URL, I think it would be possible to display the image by downloading it from the front end code.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.