PersonalizerModelFactory.PersonalizerRankResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PersonalizerRankResult.
public static Azure.AI.Personalizer.PersonalizerRankResult PersonalizerRankResult (System.Collections.Generic.IEnumerable<Azure.AI.Personalizer.PersonalizerRankedAction> ranking = default, string eventId = default, string rewardActionId = default);
static member PersonalizerRankResult : seq<Azure.AI.Personalizer.PersonalizerRankedAction> * string * string -> Azure.AI.Personalizer.PersonalizerRankResult
Public Shared Function PersonalizerRankResult (Optional ranking As IEnumerable(Of PersonalizerRankedAction) = Nothing, Optional eventId As String = Nothing, Optional rewardActionId As String = Nothing) As PersonalizerRankResult
Parameters
- ranking
- IEnumerable<PersonalizerRankedAction>
The calculated ranking for the current request.
- eventId
- String
The eventId for the round trip from request to response.
- rewardActionId
- String
The action chosen by the Personalizer service. This is the action your application should display, and for which to report the reward. This might not be the first found in 'ranking'.
Returns
A new PersonalizerRankResult instance for mocking.
Applies to
Azure SDK for .NET