WPSolr logo
  • Hundreds of brands you love, love WPSOLR 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Hundreds of brands you love, love WPSOLR 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Hundreds of brands you love, love WPSOLR 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
Expand All Collapse All
  • What is WPSOLR ?
    • The standard WordPress SQL search
    • The WPSOLR search with Elasticsearch, Apache Solr, or Algolia
  • Your configuration journey, step by step
    • Install Apache Solr
    • Hosted Apache Solr and SolrCloud Services
    • Install Weaviate
    • Install Opensearch
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure search
      • Getting started with search
      • Getting started with Ajax (live) search
      • Getting started with facets
      • 0. Connect your indexes
        • Create a Google Retail search index
        • Create an Elasticsearch index
          • Generate a test Elasticsearch index
          • Create an Elastic Elasticsearch index
          • Create an Elasticsearch index
          • Create a Qbox Elasticsearch index
          • Create an ElasticPress Elasticsearch index
          • Create an Aiven Elasticsearch or OpenSearch index
          • Create a Bonsai Elasticsearch index
          • Create an Amazon AWS Elasticsearch index
          • Create an ObjectRocket Elasticsearch index
          • Create a Cloudways Elasticsearch or Opensearch index
          • Create an Alibaba Cloud Elasticsearch index
          • Create a Compose Elasticsearch index
          • Connect to an Elasticsearch index
        • Create an Apache Solr index
          • Generate a test Apache Solr index
          • Create an Apache Solr index
          • Create a SearchStax SolrCloud index
          • Create an Opensolr Solr index
          • Connect to an Apache Solr index
        • Create an Opensearch index
          • Create a WPSOLR Hosting OpenSearch index
          • Create an Amazon AWS OpenSearch index
        • Create a Weaviate index
          • Weaviate with Google PaLM API
          • Weaviate with GPT4All
          • Weaviate with sentence transformers
          • Weaviate with CLIP text-to-image
          • Weaviate with HuggingFace Endpoints API
          • Weaviate with OpenAI GPT API
          • Weaviate with Cohere Multilingual API
          • Weaviate with Question Answering transformers
          • Weaviate with Hybrid search
          • Weaviate with Reranker - Cohere
          • Weaviate with Reranker - Transformers (cross-encoders)
        • Create an Algolia index
      • 1. Activate extensions (Add-ons)
        • bbPress add-on
        • YITH WooCommerce Ajax Search add-on
        • SEO add-ons
          • Yoast SEO add-on
          • All in One SEO add-on
        • Listable add-on
        • ACF add-on
        • Advanced Scoring add-on
        • Cron Scheduling add-on
        • Theme add-on
          • Filters layouts
            • Radiobox & Checkbox Layout
            • Numeric Range Layout
            • Colour Picker Layout
            • Date Picker (Flatpickr) Layout
            • Range Slider Layout
          • Add Ajax to the current Theme
          • Collapse taxonomy hierarchies
          • Custom Facets CSS
        • WPML add-on
        • Premium add-on
          • Manage more than one Elasticsearch or Solr index
        • PDF Embedder add-on
        • Geolocation add-on
        • AI Natural Language APIs add-on
          • Amazon Comprehend
          • Google Natural Language
          • Aylien Text Analysis
          • MeaningCloud
          • Qwam Text Analytics
        • Toolset Types add-on
        • AI Image and OCR APIs add-on
          • Google Vision
          • Amazon Rekognition
        • Embed Any Document add-on
        • MyListing add-on
        • Polylang add-on
        • WooCommerce add-on
        • Cross-domain federated search add-on
        • Directory+ add-on
        • Toolset Views add-on
        • Listify add-on
        • Jobify add-on
        • Query Monitor add-on
      • 2. Define your search
        • 2.3 Boosts
        • 2.3 Suggestions (Ajax search)
        • 2.1 Search
        • 2.2 Data
      • 3. Index your data
    • Configure recommendations
      • Algolia - Recommend and Personalized search
      • Recombee - Recommendations
      • Google Retail - AI Recommendations and Personalized search
      • Amazon Personalize
    • Configure WPSOLR Parsing and Chunking
    • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Quick start

Amazon Personalize

2544 views 2 December 4, 2023 Updated on September 26, 2024

Amazon Personalize require a WPSOLR Enterprise license.

This documentation describe the configuration of your indexes for Amazon Personalize.

 

Table of Contents

Toggle
  • What is Amazon Personalize?
    • Key Features of Amazon Personalize
    • How It Works
    • Benefits
  • Amazon Personalize configuration
    • Login to your Amazon AWS account
    • Create a security access key for the service
      • Open the IAM service
      • Create a new user
      • Set user details
      • Set user permissions
      • Create user group with Amazon Personalize and Cognito policy
      • Add a custom policy to manage roles
      • Add group to user
      • Create the user
      • Open the user definition
      • Create access key for the user
      • Generate access key for the user
      • Retrieve access key for the user
    • Create a WPSolr index
      • Display the index screen
      • Select the “Amazon Personalize” engine
      • Activate the license for the “Amazon Personalize” engine
      • Set your index settings
      • Check the datasets and their schemas created for your index
    • Configure the data to index
      • Configure post types to index
      • Configure order events to index
    • Index data
      • Select the data to be indexed
      • Index the data in batch of 10 maximum
      • Vizualize the schema of items in WPSolr
      • Vizualize the schema of items in Amazon Personalize
        • Open the Amazon personalize service
        • Select the AWS region
        • Check the datasets created automatically for your index
    • Index events
      • Select the events to be indexed
      • Index the events in batch of 10 maximum
      • Index test events
    • Analyse your datasets
    • Create a recommender
      • Select the menu “Recommenders”
      • Recommenders use case
      • Recommenders advanced settings
      • Create recommenders
      • Fix errors on recommender training
    • Create a solution
      • Select the menu “Solutions and recipes”
      • Select the solution’s recipe
      • Confirm the solution’s recipe
      • Wait for the solution’s version “active” status
    • Create a campaign
      • Select a trained solution version
      • Wait the campaign “active” status
    • Filters
      • Default filter created by WPsolr
      • Create your custom filter

What is Amazon Personalize?

Amazon Personalize is a fully managed machine learning service from AWS (Amazon Web Services) that enables developers to create personalized recommendations for users, similar to what is used by companies like Amazon.com itself. It allows businesses to deliver tailored recommendations for products, content, or other personalized experiences without requiring deep expertise in machine learning.

Image 71b8cf9f747a2bec8b3ac5e5cbfe2f37.jpg of Amazon Personalize

How to Use Amazon Personalize with Your WooCommerce Site in Just a Few Clicks

 

Key Features of Amazon Personalize

1. Recommendations: It provides personalized product, movie, music, or content recommendations based on a user’s behavior and preferences.
2. User Personalization: Uses behavioral data (such as clicks, views, or purchases) to recommend items that are more likely to be relevant to each individual user.
3. Customizable Models: Unlike pre-built recommendation engines, Amazon Personalize allows businesses to train models that are specific to their own datasets and recommendation needs.
4. Real-Time Personalization: Supports real-time recommendations by continuously updating based on the latest user interactions.
5. Multiple Use Cases:
– Personalized product recommendations in e-commerce.
– Personalized media or content recommendations in streaming services.
– Email campaign targeting, promotions, or notifications that adapt to user interests.
6. Automatic Model Tuning: It automates many aspects of the machine learning process, including feature engineering, algorithm selection, and hyperparameter optimization.

How It Works

– Data Ingestion: First, it requires input data like user activity (e.g., views, clicks, purchases) and item metadata (e.g., product descriptions, categories).
– Training: Using this data, Amazon Personalize creates a recommendation model by applying advanced machine learning algorithms, including collaborative filtering, contextual bandits, and deep learning models.
– Inference: Once the model is trained, you can make real-time or batch predictions via API calls, serving personalized recommendations to your users.

Benefits

– No Need for ML Expertise: It abstracts complex ML tasks, so developers with limited ML knowledge can still implement advanced recommendation systems.
– Scalability: Built on AWS infrastructure, making it highly scalable to accommodate a growing user base or increased data volume.
– Integration with Other AWS Services: Works well with other AWS offerings, such as AWS Lambda, Amazon SageMaker, and more.

In summary, Amazon Personalize is a versatile, scalable, and easy-to-use solution to deliver personalized user experiences powered by machine learning.

 

Amazon Personalize configuration

Login to your Amazon AWS account

 

Create a security access key for the service

Open the IAM service

Image wpsolr-amazon-personalize-open-iam-service.png of Amazon Personalize

  1. Type “IAM” in the search bar
  2. Click on the “IAM” service in search results

 

Create a new user

Image wpsolr-amazon-personalize-iam-create-user.png of Amazon Personalize

  1. Click on menu “Users”
  2. Click button “Create user”

 

Set user details

Image wpsolr-amazon-personalize-iam-user-details.png of Amazon Personalize

  1. Set a user name
  2. Click button “Next”

 

Set user permissions

Image wpsolr-amazon-personalize-iam-user-permissions.png of Amazon Personalize

  1. Add user to a new group you will create on the spot
  2. Click button “Create group”

 

Create user group with Amazon Personalize and Cognito policy

Image wpsolr-amazon-personalize-iam-user-group.png of Amazon Personalize

  1. Set group name
  2. Search for “personalize” in the search policies bar
  3. Select “Personalize” in the search policies results
  4. Click on button “Create user group”

 

Image wpsolr-amazon-personalize-iam-add-cognito-policy.png of Amazon Personalize

  1. Do the same for policy “AmazonCognitoPowerUser”. It will be used to create a Cognito unauthenticated logins identity pool to send js events with a tracking id.

 

Add a custom policy to manage roles

Image wpsolr-amazon-personalize-iam-add-role-policy-1.png of Amazon Personalize

  1. Click on menu “Create inline policy”

 

Image wpsolr-amazon-personalize-iam-add-role-policy-2.png of Amazon Personalize

  1. Click on tab “JSON”
  2. Copy the policy below in the editor
    {
    	"Version": "2012-10-17",
    	"Statement": [
    		{
    			"Effect": "Allow",
    			"Action": "iam:CreateRole",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		},
    		{
    			"Effect": "Allow",
    			"Action": "iam:PutRolePolicy",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		},
    		{
    			"Effect": "Allow",
    			"Action": "iam:DeleteRolePolicy",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		},
    		{
    			"Effect": "Allow",
    			"Action": "iam:ListRolePolicies",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		},
    		{
    			"Effect": "Allow",
    			"Action": "iam:ListAttachedRolePolicies",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		},
    		{
    			"Effect": "Allow",
    			"Action": "iam:ListInstanceProfilesForRole",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		},
    		{
    			"Effect": "Allow",
    			"Action": "iam:DeleteRole",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		},
    		{
    			"Effect": "Allow",
    			"Action": "iam:PassRole",
    			"Resource": "arn:aws:iam::*:role/wpsolr-*"
    		}
    	]
    }

    You can replace “arn:aws:iam::*:role/wpsolr-*” with your own AWS account “arn:aws:iam::xxxxxxx:role/wpsolr-*”

  3. Click on button “Next”

 

Image wpsolr-amazon-personalize-iam-add-role-policy-3.png of Amazon Personalize

  1. Give a name to your policy
  2. Click on button “Create policy”

 

Image wpsolr-amazon-personalize-iam-add-role-policy-4.png of Amazon Personalize

  1. The new policy is added

 

Add group to user

Image wpsolr-amazon-personalize-iam-user-group-choose.png of Amazon Personalize

  1. Select the new group
  2. Click on button “Next”

 

Create the user

Image wpsolr-amazon-personalize-iam-review-and-create-user.png of Amazon Personalize

  1. Click on button “Create user”

 

Open the user definition

Image wpsolr-amazon-personalize-iam-open-user.png of Amazon Personalize

  1. Click on the link of your new user to open its settings

 

Create access key for the user

Image wpsolr-amazon-personalize-iam-user-access-key.png of Amazon Personalize

  1. Click on button “Create access key”

 

Generate access key for the user

Image wpsolr-amazon-personalize-iam-user-access-key-generate.png of Amazon Personalize

  1. Select use case “other”
  2. Click on button “Create access key”

 

Retrieve access key for the user

Image wpsolr-amazon-personalize-iam-user-access-key-retrieve.png of Amazon Personalize

  1. Copy access key for later when creating the settings from WPSolr
  2. Copy secret access key for later when creating the settings from WPSolr
  3. Click on button “Done” to confirm the key creation.

 

Create a WPSolr index

Display the index screen

Image wpsolr-amazon-personalize-create-index-step-1.png of Amazon Personalize

  1. Click on the WPSolr menu
  2. Click on the “0. Connect your indexes” tab
  3. Click on the “Configure your index” tab
  4. Click on the “Connect to your server or service” button

 

Select the “Amazon Personalize” engine

Image wpsolr-amazon-personalize-create-index-step-choose-engine-3.png of Amazon Personalize

  1. Choose engine “Amazon Personalize” in the select box
  2. Click the license link to activate your license for engine “Amazon Personalize”

 

Activate the license for the “Amazon Personalize” engine

Image wpsolr-amazon-personalize-create-index-step-activate-license-engine.png of Amazon Personalize

 

Set your index settings

Image wpsolr-amazon-personalize-create-index-ssettings-2.png of Amazon Personalize

  1. Select a domain among “Custom” and “E-commerce”
  2. Set a name for your index inside WPSolr
  3. Set a name for your Amazon Personalize  dataset group
  4. Copy the AWS access key ID you create earlier
  5. Copy the AWS secret access key you create earlier
  6. Set the AWS region you want to create your Amazon Personalize settings into
  7. Click the button “Check the index status”. It will create a dataset goup and its 3 datasets on your behalf.

 

Check the datasets and their schemas created for your index

Image wpsolr-amazon-personalize-created-dataset-group-1.png of Amazon Personalize

  1. Arn of the dataset group created for this index
  2. Arn of the dataset items created for this index
  3. Arn of the dataset item interaction events created for this index
  4. Arn of the dataset users created for this index
  5. Arn of the dataset actions created for this index
  6. Arn of the dataset user-action interactions events created for this index
  7. Click “Download” to see the items schema in a pop-up
  8. Click “Download” to see the user schema in a pop-up
  9. Click “Download” to see the item interaction events schema in a pop-up
  10. Click “Download” to see the actions schema in a pop-up
  11. Click “Download” to see the user-action interactions events schema in a pop-up

 

Configure the data to index

Configure post types to index

Image wpsolr-amazon-personalize-index-data.png of Amazon Personalize

Configure order events to index

Image wpsolr-amazon-personalize-create-index-ssettings-3.png of Amazon Personalize

  1. Select the order event type (post type or HPOS)
  2. Select the order status that will be indexed (here only completed order events are indexed)

 

 

Index data

Select the data to be indexed

Image wpsolr-amazon-personalize-indexing-1.png of Amazon Personalize

  1. Select the indexing tab
  2. Select the data you want to index
  3. Limit the batch size to “10” (maximum accepted by Amazon Personalize)
  4. Click on the button to start indexing

 

Index the data in batch of 10 maximum

Image wpsolr-amazon-personalize-indexing-2.png of Amazon Personalize

  1. All the data is indexed

 

Vizualize the schema of items in WPSolr

After indexing, the items schema was updated automatically and uploaded to the items dataset. You can visualize it on the server, or on your WPSolr index.

Image wpsolr-amazon-personalize-indexing-3.png of Amazon Personalize

  1. Items schema displayed on the index when clicking on the download item schema button.

 

Vizualize the schema of items in Amazon Personalize

Open the Amazon personalize service

Image wpsolr-amazon-personalize-open-service-1.png of Amazon Personalize

  1. Type “personalize” in the search bar
  2. Click on the “Amazon Personalize” service in search results

 

Select the AWS region

Image wpsolr-amazon-personalize-choose-region.png of Amazon Personalize

  1. Select the same region you selected in WPSolr settings

 

Check the datasets created automatically for your index

Image wpsolr-amazon-personalize-dataset-group-created.png of Amazon Personalize

  1. Click the dataset groups menu
  2. Click on the dataset group to show its details

 

Image wpsolr-amazon-personalize-datasets-created.png of Amazon Personalize

  1. Click the datasets menu
  2. Click on the datasets to show their details

Image wpsolr-amazon-personalize-indexing-4.png of Amazon Personalize

  1. Items schema displayed on the items dataset on Amazon Personalize.

 

Index events

Select the events to be indexed

Image wpsolr-amazon-personalize-indexing-5.png of Amazon Personalize

  1. Select the indexing tab
  2. Select the events you want to index
  3. Limit the batch size to “10” (maximum accepted by Amazon Personalize)
  4. Click on the button to start indexing

 

Index the events in batch of 10 maximum

Image wpsolr-amazon-personalize-indexing-2.png of Amazon Personalize

  1. All the events are indexed

 

Index test events

To help you test your settings on a dev/test environment, WPSolr provides a way to generate “fake” events that will be ingested in the item-interaction events dataset.

Image wpsolr-amazon-personalize-send-test-events.png of Amazon Personalize

  1. Check full reindex option if you already indexed your post types
  2. Check option “Send test events”
  3. Set a period in the past for the test events. Their creation date will be generated randomly in this period
  4. Set a maximum of events. If it is reached, the process will stop. Just know that AmaZon personalize requires 1000 events minimum to allow training a model (creating a solution version)
  5. Set a number of users created per post type indexed
  6. Set a number of “view” events created per post type indexed
  7. Set a number of “click” created per post type indexed
  8. Set a number of “add to basket” created per post type indexed
  9. Set a number of “purchase” events created per post type indexed

 

Analyse your datasets

Image wpsolr-amazon-personalize-start-analysis.png of Amazon Personalize

  1. Start analysis of your datasets. I gives you hints on the quantity and quality of ingested data in all your datasets.

 

Image wpsolr-amazon-personalize-end-analysis.png of Amazon Personalize

  1. Open a dataset to check its rows and columns quality.

 

Create a recommender

A recommender is basically the definition of how a specific ECOMMERCE domain’s model will be trained on your datasets data.

Select the menu “Recommenders”

Image wpsolr-amazon-personalize-recommenders-menu.png of Amazon Personalize

  1. Select a dataset created with the domain “ECOMMERCE”. Datasets with the domain “CUSTOM” will not display the menu
  2. Click on menu “Recommenders”
  3. Click on button “Create recommenders”

 

Recommenders use case

Image wpsolr-amazon-personalize-recommenders-use-cases.png of Amazon Personalize

  1. Choose use cases you want to use as recommenders. One recommender will be created and billed per use case.
  2. Give use cases a name. This name will appear in WPSolr later.

 

Image wpsolr-amazon-personalize-recommenders-use-cases-next.png of Amazon Personalize

  1. Click on button “Next”

 

Recommenders advanced settings

Image wpsolr-amazon-personalize-recommenders-use-cases-advanced.png of Amazon Personalize

  1. Select the event fields you want to use for training
  2. Use “1”, which is the minimum billed query per second as long the recommender is active. Recommenders can be deactivated.
  3. Click button “Next”

 

Create recommenders

Image wpsolr-amazon-personalize-recommenders-use-cases-create.png of Amazon Personalize

  1. Review/edit settings, then click on button “Create recommenders”. The recommenders you chose before (one per use case) will be created and trained on the datasets.

 

Fix errors on recommender training

 

Image wpsolr-amazon-personalize-recommenders-error-missing-view-events.png of Amazon Personalize

  1. You can check training errors by clicking on the “Status Create failed” link. Here we can see that we need 1000 “View” events.

 

We can fake events to Amazon Personalize, on a test environement of course. For that, reindex your data with the following options:

Image wpsolr-amazon-personalize-recommenders-send-test-view-events-1.png of Amazon Personalize

  1. Select “Full reindexing” to restart indexing all data. For each data indexes, events will be also sent as described in the following points
  2. Select “Send generated test events”
  3. Set the maximum events you want to send. Here 2000.
  4. Set how many View events to send per data indexed. Here, with 10 view events per user per document, and 90 documents to index, a total of 900 view events will be sent.

 

 

Image wpsolr-amazon-personalize-recommenders-send-test-view-events-statistics.png of Amazon Personalize

  1. Statistics about test events sent during indexing are shown when the process is complete

 

Create a solution

A solution is basically the definition of how a specific model will be trained on your datasets data. Solutions can be trained for all domains (CUSTOM or ECOMMERCE).

You must have launched a data analysis first, or the solution will fail during training.

 

Select the menu “Solutions and recipes”

Image wpsolr-amazon-personalize-menu-create-solution.png of Amazon Personalize

  1. Click the “Create solution” button

 

Select the solution’s recipe

Image wpsolr-amazon-personalize-create-solution-select-recipe.png of Amazon Personalize

  1. Give your solution a name
  2. Select the solution type “Item recommendation”
  3. Chose a recipe in the list
  4. (Optional) Run a data analysis to confirm the data imported is good enough in quality and quantity for good recommendations
  5. Click on button “Next”

 

Confirm the solution’s recipe

Image wpsolr-amazon-personalize-crete-solution-summary.png of Amazon Personalize

Image wpsolr-amazon-personalize-create-solution-end.png of Amazon Personalize

  1. Click on button “Create solution” to start the solution creation.

 

Wait for the solution’s version “active” status

The solution version is a trained solution on your datasets data. You can train several versions, but must select one later in your campaign.

Image wpsolr-amazon-personalize-train-solution-active.png of Amazon Personalize

  1. Wait until the trained solution (aka version)becomes active

 

Image wpsolr-amazon-personalize-solution-version-training-4-hours.png of Amazon Personalize

  1. Just for reference, training a small dataset with 100 items and 2000 interactions can take 4 hours. So, be patient!

 

 

Create a campaign

Campaigns expose the trained solutions to the recommendations inference API.

Select a trained solution version

Image wpsolr-amazon-personalize-create-campaign-select-solution.png of Amazon Personalize

  1. Choose your trained solution versin
  2. Click on button “Create campaign”

 

Wait the campaign “active” status
Image wpsolr-amazon-personalize-create-campaign-active.png of Amazon Personalize

  1. Wait until the campaign becomes “active”. You can now use it inside WPSolr to fetch recommendations in a widget.

 

Filters

Filters are created globally, and can be selected in WPSolr to apply on a campaign.

 

Default filter created by WPsolr

One filter is created for you automatically, named “wpsolr-default-filter”.

It enables WPSolr to filter out recommendations based on their items version, and their post types.

The version is a field managed by WPSOlr to simulate items deletion, real deletion being impossible with Amazon Personalize. Filter variable $wpsolr_index_model_version is used for that purpose.

Post types are selected in WPSolr and passed to the campaign’s filter with filter variable $wpsolr_type.

Image wpsolr-amazon-personalize-default-fiter.png of Amazon Personalize

 

Create your custom filter

Create one or several filters that you will assign to your campaign later.

Image wpsolr-amazon-personalize-creat-filter-1.png of Amazon Personalize

  1. Select the menu “Filters”
  2. Click on button “Create new filter”

 

Image wpsolr-amazon-personalize-creat-filter-2.png of Amazon Personalize

  1. Set the filter a name
  2. Choose the expression builder to help you create your filter
  3. Choose the free text if you want full freedom on the filter conditions
  4. Build conditions with the builder
  5. Click on button “Create filter”

 

Image wpsolr-amazon-personalize-creat-filter-4.png of Amazon Personalize

 

 

Was this helpful?

2 Yes  No
Related Articles
  • Configure WPSOLR Parsing and Chunking
  • Create a WPSOLR Hosting OpenSearch index
  • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Getting started with facets
  • Getting started with Ajax (live) search
  • Getting started with search

Didn't find your answer? Contact Us

Previously
Google Retail – AI Recommendations and Personalized search
Up Next
Configure WPSOLR Parsing and Chunking

Recommended content

Powered by WPSOLR Enterprise with Recombee

Understand Where Your Store Is Losing Sales
Join our Affiliate Program!
Features
Search Hosting for WordPress
File Parsing and Chunking
Integration Hub
Search
Facets (Filters)
Search Add-ons
Recommendations
Keyword search engines
Comparison grid
Apache Solr & Solr Cloud
Elasticsearch
OpenSearch
Algolia
AI search engines
Comparison grid
PostgreSQL pgvector
Weaviate
Google Retail
Vespa.ai
OpenSearch vector
AI recommendation engines
Comparison grid
Recombee
Amazon Personalize
AI personalization engines
Comparison grid
Google Retail
Algolia
Buy and Learn
Pricing
Privacy policy
Terms and Conditions
© 2026 Eostis SARL. All Rights Reserved.
More
My licenses
Support
Documentation
Blog
Recommendations powered for you by WPSolr
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}