Walkthrough of using private assets #3599
Labels
api: vertex-ai
Issues related to the Vertex AI API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
samples
Issues that are directly related to samples.
triage me
I really want to be triaged.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
How would one go about using assets from their own private bucket (and not the public one in the case of generativeai-downloads/images/scones.jpg)?
Is your feature request related to a problem? Please describe.
I am facing errors (500 internal server) when attempting to access an image in my own GCS and there seems to be an access/permission issue even though I have tried to instantiate a
Storage
object with my application_default_credentials in order to access the files inside the bucket, and to then use the file to compose a fileUri (i.e.gs://bucket-name/filename.jpeg
).Describe the solution you'd like.
I would like to be able to provide private assets from GCS to VertexAI and get the same result as described here
https://cloud.google.com/vertex-ai/docs/generative-ai/start/quickstarts/quickstart-multimodal#send-request
Describe alternatives you've considered.
So one solution that I did conjure up was to add to the acl rules before sending the asset to VertexAI and once the analysis is complete, to revoke the public acl rule. But I wonder if you have a more elegant solution.
Additional context.
Thanks!
The text was updated successfully, but these errors were encountered: