Dela via


PersonalizerModelFactory.PersonalizerMultiSlotRankResult Method

Definition

Initializes a new instance of PersonalizerMultiSlotRankResult.

public static Azure.AI.Personalizer.PersonalizerMultiSlotRankResult PersonalizerMultiSlotRankResult (System.Collections.Generic.IEnumerable<Azure.AI.Personalizer.PersonalizerSlotResult> slots = default, string eventId = default);
static member PersonalizerMultiSlotRankResult : seq<Azure.AI.Personalizer.PersonalizerSlotResult> * string -> Azure.AI.Personalizer.PersonalizerMultiSlotRankResult
Public Shared Function PersonalizerMultiSlotRankResult (Optional slots As IEnumerable(Of PersonalizerSlotResult) = Nothing, Optional eventId As String = Nothing) As PersonalizerMultiSlotRankResult

Parameters

slots
IEnumerable<PersonalizerSlotResult>

Each slot has a corresponding rewardActionID which is the action ID recommended by Personalizer.

eventId
String

The eventId for the round trip from request to response.

Returns

A new PersonalizerMultiSlotRankResult instance for mocking.

Applies to