Module Values.RecommendationSource

Represents a single recommendation generated by the recommender system.

Sourcetype nonrec t = {
  1. catalogItem : CatalogItem.t option;
    (*

    The catalog item being recommended, including its complete details and attributes.

    *)
  2. score : Double0To1.t option;
    (*

    Recommendation Score between 0 and 1.

    *)
}
Sourceval make : ?catalogItem:??? -> ?score:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double0To1.t | `Structure of (string * [> `Map of ([> `String of String1To255.t ] * [> `String of String1To255.t ]) list | `String of SensitiveString1To255.t | `Timestamp of Timestamp.t ]) 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