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

How to you implement Retail recommendation model?

We are trying to implement a Retail recommendation model, in particular, the Recommended for you model.

I share here the docs for reference: https://cloud.google.com/retail/docs/reference/rest/v2beta/projects.locations.catalogs.placements/pr...

All the catalog is uploaded correctly, the model is trained and inside GCP in google Retail we get a prediction if we provide a cookie.

Our problem is that we are trying to get the list of predictions  of users with the new url:

"https://retail.googleapis.com/v2beta/YOUR_MODEL_LOCATION"

But we have to provide the API Key and also the user has to be authenticated (OAuth).

This is an issue because we users can't authentica themselfs in order to get the predictions.

A prior version that worked had a different url:

https://recommendationengine.googleapis.com/v1beta1/

This one worked and no OAuth was needed, it returned a list/array with the predictions for each user correctly. Sadly this website is going to be deprecated and we have to use the new one.

Has somebody encountered the same issue or implemented the Retail models correctly in a website?

Thank you in advance!

 

0 0 293
0 REPLIES 0