Dela via


PersonalizerSlotOptions Constructors

Definition

Overloads

PersonalizerSlotOptions()

Initializes a new instance of the RankRequest class.

PersonalizerSlotOptions(String, String)

Initializes a new instance of PersonalizerSlotOptions.

PersonalizerSlotOptions(String, String, IList<Object>, IList<String>)

Initializes a new instance of SlotRequest.

PersonalizerSlotOptions()

Source:
PersonalizerSlotOptions.cs

Initializes a new instance of the RankRequest class.

public PersonalizerSlotOptions ();
Public Sub New ()

Applies to

PersonalizerSlotOptions(String, String)

Source:
PersonalizerSlotOptions.cs

Initializes a new instance of PersonalizerSlotOptions.

public PersonalizerSlotOptions (string id, string baselineAction);
new Azure.AI.Personalizer.PersonalizerSlotOptions : string * string -> Azure.AI.Personalizer.PersonalizerSlotOptions
Public Sub New (id As String, baselineAction As String)

Parameters

id
String

Slot ID.

baselineAction
String

The 'baseline action' ID for the slot. The BaselineAction is the Id of the Action your application would use in that slot if Personalizer didn't exist. BaselineAction must be defined for every slot. BaselineAction should never be part of ExcludedActions. Each slot must have a unique BaselineAction which corresponds to an an action from the event's Actions list.

Exceptions

id or baselineAction is null.

Applies to

PersonalizerSlotOptions(String, String, IList<Object>, IList<String>)

Source:
PersonalizerSlotOptions.cs

Initializes a new instance of SlotRequest.

public PersonalizerSlotOptions (string id, string baselineAction, System.Collections.Generic.IList<object> features = default, System.Collections.Generic.IList<string> excludedActions = default);
new Azure.AI.Personalizer.PersonalizerSlotOptions : string * string * System.Collections.Generic.IList<obj> * System.Collections.Generic.IList<string> -> Azure.AI.Personalizer.PersonalizerSlotOptions
Public Sub New (id As String, baselineAction As String, Optional features As IList(Of Object) = Nothing, Optional excludedActions As IList(Of String) = Nothing)

Parameters

id
String

Slot ID.

baselineAction
String
The 'baseline action' ID for the slot.

The BaselineAction is the Id of the Action your application would use in that slot if Personalizer didn't exist.

BaselineAction must be defined for every slot.

BaselineAction should never be part of ExcludedActions.

Each slot must have a unique BaselineAction which corresponds to an an action from the event's Actions list.

features
IList<Object>
excludedActions
IList<String>

Exceptions

id or baselineAction is null.

Applies to