Module Values.RecommendationDataSource

Information about the recommendation.

Sourcetype nonrec t = {
  1. recommendationId : RecommendationId.t option;
    (*

    The identifier of the recommendation.

    *)
  2. document : Document.t option;
    (*

    The recommended document.

    *)
  3. relevanceScore : RelevanceScore.t option;
    (*

    The relevance score of the recommendation.

    *)
  4. relevanceLevel : RelevanceLevel.t option;
    (*

    The relevance level of the recommendation.

    *)
  5. type_ : RecommendationType.t option;
    (*

    The type of recommendation.

    *)
  6. data : DataSummary.t option;
    (*

    Summary of the recommended content.

    *)
}
Sourceval make : ?recommendationId:??? -> ?document:??? -> ?relevanceScore:??? -> ?relevanceLevel:??? -> ?type_:??? -> ?data:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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