Module Values.CampaignConfigSource

The configuration details of a campaign.

Sourcetype nonrec t = {
  1. itemExplorationConfig : HyperParameters.t option;
    (*

    Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your solution uses the User-Personalization recipe.

    *)
  2. enableMetadataWithRecommendations : Boolean.t option;
    (*

    Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign. If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.

    *)
  3. syncWithLatestSolutionVersion : Boolean.t option;
    (*

    Whether the campaign automatically updates to use the latest solution version (trained model) of a solution. If you specify True, you must specify the ARN of your solution for the SolutionVersionArn parameter. It must be in SolutionArn/$LATEST format. The default is False and you must manually update the campaign to deploy the latest solution version. For more information about automatic campaign updates, see Enabling automatic campaign updates.

    *)
  4. rankingInfluence : RankingInfluence.t option;
    (*

    A map of ranking influence values for POPULARITY and FRESHNESS. For each key, specify a numerical value between 0.0 and 1.0 that determines how much influence that ranking factor has on the final recommendations. A value closer to 1.0 gives more weight to the factor, while a value closer to 0.0 reduces its influence.

    *)
}
Sourceval make : ?itemExplorationConfig:??? -> ?enableMetadataWithRecommendations:??? -> ?syncWithLatestSolutionVersion:??? -> ?rankingInfluence:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Map of ([> `Enum of string | `String of ParameterName.t ] * [> `Double of RankingInfluenceWeight.t | `String of ParameterValue.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