I create an Agent Builder with App type Recommendations for Media content
All the data requirement is met and I am able to trai nthe model
enter image description here
The model finish traning and is able to output prediction in the preview tab
model
The thing that i don’t unerstand is when I try to update or delete some document in my data store
for example document no.47941 was delete form the data store and is no longer exist in the data store
I confirm this by looking at the documents tab and this id no longer exist and call the document from the api also no longer return the data
enter image description here
But the model somehow still return this docuent back to the request
result
So it seem like the model is not connect to the data store in real time and work with some data somewhere.
But I cant find any document mention this in the
https://cloud.google.com/generative-ai-app-builder/docs/introduction?authuser=1
Only thing i find is that the document mention to re-train the model sometime to avoid model degrade.
base on this link the modle should not return any DELETED or EXPIRED document
https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1beta/projects.locations.dataStores.servingConfigs/recommend
enter image description here
But i have no clue how to check the status in the data store and i delete the document it should be status DELETED anyway
I didn’t create multiple datastore for the app and i didn’t have any new branch or collection both are using default
So my queiston if anyone know is how does the model connect to the data store?
Is it only update the document result only if the model is retrain?
Or do I need to re-index the data store somehow for the model to get the update data?
I have serach around on the index topic also didn’t find anything useful
Try to search and read around on the document didn’t find anything relate to this.
Try to purge the data store but the model still return data.
Ideally i expect the model to be able to output the document base on whatever data is exist in the data store so if it got delete or update it should not return anymore but somehow it return
Chalermdej Lematavekul is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.