Fetches the recommendations for a profile in the input Customer Profiles domain
Source:R/customerprofiles_operations.R
customerprofiles_get_profile_recommendations.RdFetches the recommendations for a profile in the input Customer Profiles domain. Fetches all the profile recommendations
See https://www.paws-r-sdk.com/docs/customerprofiles_get_profile_recommendations/ for full documentation.
Usage
customerprofiles_get_profile_recommendations(
DomainName,
ProfileId,
RecommenderName,
Context = NULL,
RecommenderFilters = NULL,
RecommenderPromotionalFilters = NULL,
CandidateIds = NULL,
MaxResults = NULL,
MetadataConfig = NULL
)Arguments
- DomainName
[required] The unique name of the domain.
- ProfileId
[required] The unique identifier of the profile for which to retrieve recommendations.
- RecommenderName
[required] The unique name of the recommender.
- Context
The contextual metadata used to provide dynamic runtime information to tailor recommendations.
- RecommenderFilters
A list of filters to apply to the returned recommendations. Filters define criteria for including or excluding items from the recommendation results.
- RecommenderPromotionalFilters
A list of promotional filters to apply to the recommendations. Promotional filters allow you to promote specific items within a configurable subset of recommendation results.
- CandidateIds
A list of item IDs to rank for the user. Use this when you want to re-rank a specific set of items rather than getting recommendations from the full item catalog. Required for personalized-ranking use cases.
- MaxResults
The maximum number of recommendations to return. The default value is 10.
- MetadataConfig
Configuration for including item metadata in the recommendation response. Use this to specify which metadata columns to return alongside recommended items.