Aracılığıyla paylaş


PersonalizerModelFactory.PersonalizerSlotResult(String, String) Method

Definition

Initializes a new instance of PersonalizerSlotResult.

public static Azure.AI.Personalizer.PersonalizerSlotResult PersonalizerSlotResult (string slotId = default, string rewardActionId = default);
static member PersonalizerSlotResult : string * string -> Azure.AI.Personalizer.PersonalizerSlotResult
Public Shared Function PersonalizerSlotResult (Optional slotId As String = Nothing, Optional rewardActionId As String = Nothing) As PersonalizerSlotResult

Parameters

slotId
String

Id is the slot ID.

rewardActionId
String

RewardActionID is the action ID recommended by Personalizer.

Returns

A new PersonalizerSlotResult instance for mocking.

Applies to