Class: Aws::CustomerProfiles::Types::RecommendationDiversityConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb

Overview

Runtime diversity configuration for a GetProfileRecommendations request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Whether diversity-aware recommendations are enabled for this request.

Returns:

  • (Boolean)


8872
8873
8874
8875
8876
8877
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 8872

class RecommendationDiversityConfig < Struct.new(
  :enabled,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesHash<String,Integer>

An optional map of placeholder name to integer cap value used to resolve $name placeholders defined in the recommender's DiversityConfig at inference time. Up to 2 entries are supported.

Returns:

  • (Hash<String,Integer>)


8872
8873
8874
8875
8876
8877
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 8872

class RecommendationDiversityConfig < Struct.new(
  :enabled,
  :values)
  SENSITIVE = []
  include Aws::Structure
end