Configure indices to personalize
On this page
AI Personalization is a beta feature according to Algolia’s Terms of Service (“Beta Services”).
The first step to configuring AI Personalization is to select the indices to enable personalization on.
To start personalizing an index, head over to the AI Personalization dashboard Configuration page, and click the Personalize an index button.
Select the index to personalize
To get started, select either a primary index or one of its replicas from the drop-down menu.
AI Personalization does not support personalizing both an index and its replicas at the same time. When you personalize a primary index, its affinities and event mappings will automatically apply to all of its replicas, and vice versa.
Select the attributes for affinities
To personalize the search experience, AI Personalization needs to know which facet attributes to use as affinities. In the Affinities input, add all the relevant facet attributes you want to use for personalization.
For example, if you’re running an ecommerce website, relevant facet attributes to select might include category, color, gender, and size.
When selecting attributes as affinities you should consider the following:
-
AI Personalization relies on facet attributes. Make sure to add the attributes to use as affinities in the Attributes for faceting index configuration in the Algolia dashboard.
-
AI Personalization supports dot notation in facet attribute names. This is useful when selecting nested facet attributes as affinities for personalization.
-
AI Personalization doesn’t support the
filterOnly
modifier for facet attributes, since users won’t interact with these attributes. They’re used for filtering, not faceting.
Next step
Once you’ve set up the indices to personalize, you must define the events collection strategy to improve the accuracy of user signals.