Skip to content

Commit

Permalink
Update API view file
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhuang01 committed Feb 8, 2022
1 parent 9b1c3b0 commit 0a4dcbf
Showing 1 changed file with 64 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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<string, System.Collections.Generic.IList<object>> slotIdToFeatures) { }
public DecisionContext(System.Collections.Generic.IEnumerable<object> contextFeatures, System.Collections.Generic.List<Azure.AI.Personalizer.PersonalizerRankableAction> rankableActions) { }
[System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("FromUrl")]
public System.Collections.Generic.List<string> 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<string> json, string slotId, System.Collections.Generic.List<string> slotJson) { }
[System.Text.Json.Serialization.JsonIgnoreAttribute(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("f")]
public System.Collections.Generic.Dictionary<string, float[]> 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<string> 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<string> 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() { }
Expand Down Expand Up @@ -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<Azure.Response> 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; }
Expand Down Expand Up @@ -257,12 +314,13 @@ public partial class PersonalizerRankableAction
public PersonalizerRankableAction(string id, System.Collections.Generic.IEnumerable<object> features) { }
public System.Collections.Generic.IList<object> 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
{
Expand All @@ -289,9 +347,9 @@ public PersonalizerRankOptions(System.Collections.Generic.IEnumerable<Azure.AI.P
public partial class PersonalizerRankResult
{
internal PersonalizerRankResult() { }
public string EventId { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.AI.Personalizer.PersonalizerRankedAction> Ranking { get { throw null; } }
public string RewardActionId { get { throw null; } }
public string EventId { get { throw null; } set { } }
public System.Collections.Generic.IReadOnlyList<Azure.AI.Personalizer.PersonalizerRankedAction> Ranking { get { throw null; } set { } }
public string RewardActionId { get { throw null; } set { } }
}
public partial class PersonalizerRewardMultiSlotOptions
{
Expand Down Expand Up @@ -327,7 +385,7 @@ public PersonalizerSlotOptions(string id, string baselineAction) { }
public PersonalizerSlotOptions(string id, string baselineAction, System.Collections.Generic.IList<object> features = null, System.Collections.Generic.IList<string> excludedActions = null) { }
public string BaselineAction { get { throw null; } }
public System.Collections.Generic.IList<string> ExcludedActions { get { throw null; } }
public System.Collections.Generic.IList<object> Features { get { throw null; } }
public System.Collections.Generic.IList<object> Features { get { throw null; } set { } }
public string Id { get { throw null; } }
}
public partial class PersonalizerSlotResult
Expand Down

0 comments on commit 0a4dcbf

Please sign in to comment.