Questions tagged [google-cloud-recommendation]

18 questions
4
votes
1 answer

Python: Fetching nested dictionary values GCP Recommendations

I am trying to illicit certain key values out of an API JSON output from GCP Recommendations API using Python, and am newer to using Python. Most of the values that I am trying to illicit I can fetch without an issue, however, when I try to illicit…
1
vote
1 answer

Converting mobile application (not an ecommerce app) event data to be compatible with google Recommendation AI

Here I'm working with a mobile application that is not an eCommerce application. I have event data collected in my google cloud. I want to create a recommendation model from that event data using the Recommendation AI service in the google cloud…
1
vote
0 answers

GCP Recommendations AI is only for Shopping Sites?

We are planning to make a recommendations engine for the features in the app (not a shopping site) and we were thinking about using GCP Recommendations AI. Then, we ran into some unclear areas due to lack of examples. GCP Recommendations AI is not…
1
vote
0 answers

Is there any way to terminate a user events import bulk load job

After the bulk load job was started I need to terminate it on the google side. Is there any method to do it?
tsarenkotxt
  • 3,231
  • 4
  • 22
  • 38
0
votes
0 answers

Retail API Recommendation: Are we able to ensure a certain number of items returned after applying the filter?

Hello fellow developers, I am currently working with the GCP Retail API and implementing filters to refine the results of product recommendations. However, I've encountered a challenge related to the number of items returned after applying the…
0
votes
0 answers

Google Retail API (Recommendations AI): how can i retrieve/export user events?

I would like to export my all user events. Is there a way to retrieve all user events data with API ? I can retrieve products: list_products: from google.cloud import retail_v2 def sample_list_products(): # Create a client client =…
0
votes
1 answer

'stateInfo.state' filter not working for GCP IAM Recommender API

I'm trying to query the GCP IAM recommender API (API documentation here) and fetch role revision recommendations for my project. I'm looking for ACTIVE recommendations only. However, the input filter stateInfo.state filter (listed in the above…
0
votes
1 answer

Recommendations AI to Big Query : Cloud Function gives timeout exception

I am trying to get the predicted results from the Recommendations AI and store those predictions back into the big query. After fetching a few rows, the Cloud Function gives timeout exception. Is there any way I can increase the timeout of Cloud…
0
votes
1 answer

How to send POST requests from iOS (swift) to GCP in real time?

We are planning to make a recommendations engine for the features in the app and we were thinking about using GCP Recommendations AI. Then, we ran into some unclear areas due to lack of examples. When we send POST requests from iOS (swift) to GCP,…
0
votes
1 answer

How to use Google Tag Manager for iOS (swift) with GCP Recommendations AI?

We are planning to make a recommendations engine for the features in the app and we were thinking about using GCP Recommendations AI. Then, we ran into some unclear areas due to lack of examples. Can we use Google Tag Manager for iOS (with Firebase…
0
votes
1 answer

Recommendations AI: Problem with importing products to catalog. Error: "Long-running operation had neither response nor error set"

Im trying to import product to Recommendations AI catalog using "googleapis/ python-retail" Python package. But when i do it using ProductServiceAsyncClient an error is returned to me "google.api_core.exceptions.GoogleAPICallError: None Unexpected…
0
votes
1 answer

"INCORRECT_JSON_FORMAT userEvent" error in a Recommendations AI project

Does anyone have an idea what this error could mean? error screenshot
0
votes
1 answer

Google recommendations AI deleting catalog items error 403

I am trying to integrate my catalog into google recommendations ai, and for debugging purposes I want to be able to delete items from the catalog once imported. The documentations suggests running the following code: curl -X DELETE \ -H…
0
votes
1 answer

google-cloud-recommendation Sometime returns UNAUTHENTICATED error

I am using userEvents.write method with from my web app. I sent request a JSON like below with Authorization header got from gcloud auth application-default print-access-token command. { "eventType": "detail-page-view", "visitorId":…
0
votes
0 answers

google-cloud-recommendation How to get next page for Prediction?

I want to use predict method in order to get recommendation devided by page. This method has pageToken parameter used for paging. The parameter should be received in the previous prediction response. But this method in v2 API doesn't return…
1
2