diff --git a/sdk/personalizer/Azure.AI.Personalizer/api/Azure.AI.Personalizer.netstandard2.0.cs b/sdk/personalizer/Azure.AI.Personalizer/api/Azure.AI.Personalizer.netstandard2.0.cs index c90b96fa93d0..a5a301fd74d2 100644 --- a/sdk/personalizer/Azure.AI.Personalizer/api/Azure.AI.Personalizer.netstandard2.0.cs +++ b/sdk/personalizer/Azure.AI.Personalizer/api/Azure.AI.Personalizer.netstandard2.0.cs @@ -1,5 +1,60 @@ namespace Azure.AI.Personalizer { + public partial class DecisionContext + { + public DecisionContext() { } + public DecisionContext(Azure.AI.Personalizer.PersonalizerRankMultiSlotOptions rankRequest, System.Collections.Generic.Dictionary> slotIdToFeatures) { } + public DecisionContext(System.Collections.Generic.IEnumerable contextFeatures, System.Collections.Generic.List rankableActions) { } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("FromUrl")] + public System.Collections.Generic.List ContextFeatures { get { throw null; } } + [System.Text.Json.Serialization.JsonPropertyNameAttribute("_multi")] + public Azure.AI.Personalizer.DecisionContextDocument[] Documents { get { throw null; } set { } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("_slots")] + public Azure.AI.Personalizer.DecisionContextDocument[] Slots { get { throw null; } set { } } + } + public partial class DecisionContextDocument + { + public DecisionContextDocument(string id, System.Collections.Generic.List json, string slotId, System.Collections.Generic.List slotJson) { } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("f")] + public System.Collections.Generic.Dictionary FloatFeatures { get { throw null; } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("_tag")] + public string ID { get { throw null; } set { } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("j")] + public System.Collections.Generic.List JSON { get { throw null; } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("i")] + public Azure.AI.Personalizer.DecisionContextDocumentId Marginal { get { throw null; } set { } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("_id")] + public string SlotId { get { throw null; } set { } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("sj")] + public System.Collections.Generic.List SlotJson { get { throw null; } set { } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("s")] + public Azure.AI.Personalizer.DecisionContextDocumentSource Source { get { throw null; } set { } } + } + public partial class DecisionContextDocumentId + { + public DecisionContextDocumentId() { } + [System.Text.Json.Serialization.JsonPropertyNameAttribute("constant")] + public int Constant { get { throw null; } set { } } + [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + public string ID { get { throw null; } set { } } + } + public partial class DecisionContextDocumentSource + { + public DecisionContextDocumentSource() { } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string Parameter { get { throw null; } set { } } + [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string Set { get { throw null; } set { } } + } public partial class PersonalizerAdministrationClient { protected PersonalizerAdministrationClient() { } @@ -41,8 +96,10 @@ public partial class PersonalizerClient protected PersonalizerClient() { } public PersonalizerClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { } public PersonalizerClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.Personalizer.PersonalizerClientOptions options = null) { } + public PersonalizerClient(System.Uri endpoint, Azure.AzureKeyCredential credential, bool isLocalInference, float subsampleRate = 1f, Azure.AI.Personalizer.PersonalizerClientOptions options = null) { } public PersonalizerClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { } public PersonalizerClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Personalizer.PersonalizerClientOptions options = null) { } + public PersonalizerClient(System.Uri endpoint, Azure.Core.TokenCredential credential, bool isLocalInference, float subsampleRate = 1f, Azure.AI.Personalizer.PersonalizerClientOptions options = null) { } public virtual Azure.Response Activate(string eventId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ActivateAsync(string eventId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response ActivateMultiSlot(string eventId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -257,12 +314,13 @@ public partial class PersonalizerRankableAction public PersonalizerRankableAction(string id, System.Collections.Generic.IEnumerable features) { } public System.Collections.Generic.IList Features { get { throw null; } } public string Id { get { throw null; } } + public int Index { get { throw null; } set { } } } public partial class PersonalizerRankedAction { internal PersonalizerRankedAction() { } - public string Id { get { throw null; } } - public float? Probability { get { throw null; } } + public string Id { get { throw null; } set { } } + public float? Probability { get { throw null; } set { } } } public partial class PersonalizerRankMultiSlotOptions { @@ -289,9 +347,9 @@ public PersonalizerRankOptions(System.Collections.Generic.IEnumerable Ranking { get { throw null; } } - public string RewardActionId { get { throw null; } } + public string EventId { get { throw null; } set { } } + public System.Collections.Generic.IReadOnlyList Ranking { get { throw null; } set { } } + public string RewardActionId { get { throw null; } set { } } } public partial class PersonalizerRewardMultiSlotOptions { @@ -327,7 +385,7 @@ public PersonalizerSlotOptions(string id, string baselineAction) { } public PersonalizerSlotOptions(string id, string baselineAction, System.Collections.Generic.IList features = null, System.Collections.Generic.IList excludedActions = null) { } public string BaselineAction { get { throw null; } } public System.Collections.Generic.IList ExcludedActions { get { throw null; } } - public System.Collections.Generic.IList Features { get { throw null; } } + public System.Collections.Generic.IList Features { get { throw null; } set { } } public string Id { get { throw null; } } } public partial class PersonalizerSlotResult