Partager via


PersonalizerModelFactory.PersonalizerRankedAction Méthode

Définition

Initialise une nouvelle instance de PersonalizerRankedAction.

public static Azure.AI.Personalizer.PersonalizerRankedAction PersonalizerRankedAction (string id = default, float? probability = default);
static member PersonalizerRankedAction : string * Nullable<single> -> Azure.AI.Personalizer.PersonalizerRankedAction
Public Shared Function PersonalizerRankedAction (Optional id As String = Nothing, Optional probability As Nullable(Of Single) = Nothing) As PersonalizerRankedAction

Paramètres

id
String

ID de l’action.

probability
Nullable<Single>

Probabilité de l’action.

Retours

Une nouvelle PersonalizerRankedAction instance pour se moquer.

S’applique à