Aracılığıyla paylaş


PersonalizerSlotOptions Class

Definition

A slot with it's associated features and list of excluded actions.

public class PersonalizerSlotOptions
type PersonalizerSlotOptions = class
Public Class PersonalizerSlotOptions
Inheritance
PersonalizerSlotOptions

Constructors

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.

Properties

BaselineAction

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.

ExcludedActions

List of excluded action Ids.

Features

List of dictionaries containing slot features. Need to be JSON serializable. https://docs.microsoft.com/azure/cognitive-services/personalizer/concepts-features.

Id

Slot ID.

Applies to