Module Values.GetProfileRecommendationsRequestSource

Fetches the recommendations for a profile in the input Customer Profiles domain. Fetches all the profile recommendations

Sourcetype nonrec t = {
  1. domainName : Name.t;
    (*

    The unique name of the domain.

    *)
  2. profileId : Uuid.t;
    (*

    The unique identifier of the profile for which to retrieve recommendations.

    *)
  3. recommenderName : Name.t;
    (*

    The unique name of the recommender.

    *)
  4. context : RecommenderContext.t option;
    (*

    The contextual metadata used to provide dynamic runtime information to tailor recommendations.

    *)
  5. recommenderFilters : RecommenderFilters.t option;
    (*

    A list of filters to apply to the returned recommendations. Filters define criteria for including or excluding items from the recommendation results.

    *)
  6. recommenderPromotionalFilters : RecommenderPromotionalFilters.t option;
    (*

    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.

    *)
  7. candidateIds : CandidateIdList.t option;
    (*

    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.

    *)
  8. maxResults : int option;
    (*

    The maximum number of recommendations to return. The default value is 10.

    *)
  9. metadataConfig : MetadataConfig.t option;
    (*

    Configuration for including item metadata in the recommendation response. Use this to specify which metadata columns to return alongside recommended items.

    *)
}
Sourceval context_ : string
Sourceval make : ?context:??? -> ?recommenderFilters:??? -> ?recommenderPromotionalFilters:??? -> ?candidateIds:??? -> ?maxResults:??? -> ?metadataConfig:??? -> domainName:Name.t -> profileId:Uuid.t -> recommenderName:Name.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of int | `List of [> `String of String1To255.t | `Structure of (string * [> `Integer of PercentPromotedItems.t | `Map of ([> `String of RecommenderFilterAttributeName.t ] * [> `String of RecommenderFilterAttributeValue.t ]) list | `String of Name.t ]) list ] list | `Map of ([> `String of ContextKey.t ] * [> `String of String1To255.t ]) list | `String of Name.t | `Structure of (string * [> `List of [> `String of MetadataColumnName.t ] list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t