Module Values.GetPersonalizedRankingResponseSource

Re-ranks a list of recommended items for the given user. The first item in the list is deemed the most likely item to be of interest to the user. The solution backing the campaign must have been created using a recipe of type PERSONALIZED_RANKING.

Sourcetype nonrec t = {
  1. personalizedRanking : ItemList.t option;
    (*

    A list of items in order of most likely interest to the user. The maximum is 500.

    *)
  2. recommendationId : RecommendationID.t option;
    (*

    The ID of the recommendation.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInputException of InvalidInputException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?personalizedRanking:??? -> ?recommendationId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInputException of InvalidInputException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInputException of InvalidInputException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Double of Score.t | `List of [> `String of Reason.t ] list | `Map of ([> `String of ColumnName.t ] * [> `String of ColumnValue.t ]) list | `String of ItemID.t ]) list ] list | `String of RecommendationID.t ]) 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