Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to upload data to datastore in agent builder in GCP from google storage bucket

I am working on the development of a chatbot using agent builder in vertex ai in google cloud platform. I have done the chatbot development and integrated on my frontend application. I have also developed an api to upload files to the google cloud bucket which helps me upload documents from the frontend application to the bucket. But now my issue is that i want to upload this bucket to the datastore as well via an api or when i upload files to the bucket i want it to be uploaded on the particular datastore under the agent builder as well. The thing is that I have developed one api to upload bucket to  datastore and it is only uploading the bucket to the common datastore in gcp and not in the datastore under the agent builder. So can anyone help me out to develop and api or any alternative method to upload my bucket to datastore under the agent builder.

0 3 294
3 REPLIES 3

 Hi @Gopika_Roshan 

So you have mapped your datastore with your agent builder?
Also, which agent builder you are uisng now ?

Hi @cloudgeek7 

Yes I have mapped my datastore and I'm using the Dialogflow CX agent builder

In datastore, while uploading with buckets, you will have an option as "Sync Frequency" use that option to update whernever the file is updated to the datastore.