Module Values.RecommendationDataSource

Information about the recommendation.

Sourcetype nonrec t = {
  1. document : Document.t option;
    (*

    The recommended document.

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

    The identifier of the recommendation.

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

    The relevance level of the recommendation.

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

    The relevance score of the recommendation.

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

    The type of recommendation.

    *)
}
Sourceval make : ?document:??? -> ?recommendationId:??? -> ?relevanceLevel:??? -> ?relevanceScore:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of RelevanceScore.t | `Enum of string | `String of String_.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of HighlightOffset.t ]) list ] list | `String of Arn.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