This topic provides a high-level description of the capabilities of Recommendations AI. For a description of the process of implementing Recommendations AI, see Implementing a Recommendations AI solution.
Recommendations AI enables you to build high quality personalized product recommendation systems without requiring a high level of expertise in machine learning, systems design, or operations. Leveraging your website's catalog products and user behavior, Recommendations AI builds a recommendation model specific to your company, including optional add-on features such as result diversity, selecting whether you are optimizing for CTR/CVR/Revenue, and shopping feed integration (all available by request to the support team). You can then request recommendations for other catalog products to display to your users.
In order to build recommendation machine learning models, Recommendations AI needs two sets of information:
Product catalog: Information of the products sold to customers. This includes the product title, description, in stock availability, pricing, and so on.
User events: End user behavior on your website. This includes users searching for, viewing, or purchasing a specific item, your website showing users a list of products, and so on.
The Recommendations AI API
The Recommendations AI API provides capabilities for two tasks:
Data Ingestion: You can upload and manage product catalog information and user event logs for your websites. Recommendations AI uses this information to train and update recommendation models.
Prediction: You can request recommendations based on your product catalog and user event logs.
Implementing a Recommendations AI solution
To integrate Recommendations AI into your website, follow these steps:
|1. Set up a Google Cloud project||
To use Recommendations AI, you must create a Google Cloud (GCP) project and create authentication credentials including an API key and an OAuth token (either using a user account or a service account) to access the project.
You can only host one product catalog per Google Cloud project.
If you want to create separate environments for testing and production, set up two Google Cloud projects, one for testing and another for production. Because the two projects are separate, you will need to perform all of the setup steps for both projects, including importing your product catalog information.
Recommendations AI is in limited Beta release. To become a Beta customer, contact your Google account manager.
|2. Import your product catalog||
You can add items to your Recommendations AI product catalog
individually by using the
You will get the best results for recommendations if you provide highly-detailed catalog information and keep your imported product catalog as up-to-date as possible. Detailed and accurate catalog information results in a better recommendation model.
|3. Record user events||
After you have finished importing your product catalog, you are ready to start recording user events. User events track user actions such as clicking on a product, adding an item to a shopping cart, purchasing an item, and so on. Recommendations AI relies on user event data in order to generate personalized recommendations. User events need to be ingested in real time to accurately reflect the behavior of your users.
You have several options to record user events:
|4. Determine your recommendation types and placements||
The location of the recommendation panel and the objective for that panel impact model tuning. After reviewing the available recommendation types, optimization objectives, and other model tuning options, contact your Recommendations AI support representative to discuss the right options for your business.
|5. Import historical user events||
Your models need sufficient training data before they can provide accurate predictions. Providing historical user event data enables you to start model training without having to wait months for enough user event data to be collected from your site.
For more information, see User event data requirements.
After you have met the data requirements, contact your Recommendations AI support representative to initiate model training. Model training takes 2-3 weeks to complete; then, the Recommendations AI team tunes and evaluates the model before activating it.
|6. Request recommendations||
After your model has been activated, you can now request recommendations from Recommendations AI for specific users using your website.
You can request a recommendation by calling the
|7. Evaluate your model||
You can associate recommendations and user events and Recommendations AI provides reporting of metrics to help you determine how incorporating the recommendations is affecting your business.
You can view recommendation metrics for your project in the Dashboard tab of the Recommendations AI Console.
|8. Set up an A/B experiment (Optional)||
You can compare the performance of your website with Recommendations AI recommendations to a baseline version of your website without Recommendations AI recommendations. To compare versions of your website, set up an A/B experiment that randomly partitions a subset of your users into control and experimental groups. The control group sees your baseline website; the experimental group sees your website with Recommendations AI recommendations.