Skip to content

Commit

Permalink
Merge pull request #39 from arafattehsin/master
Browse files Browse the repository at this point in the history
Quick fix for the Subscription Key assignment
  • Loading branch information
edjez committed Oct 15, 2019
2 parents 3dbc651 + 8228f1b commit 070b458
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ public class RLContextManager
/// </value>
public IList<RankedAction> CurrentPreference { get; set; }

public RLContextManager()
{
SubscriptionKey = "<Your Personalizer Service Key from Azure>";
}
public void GenerateRLFeatures()
{
var index = new Random().Next(0, 3);
Expand Down
2 changes: 1 addition & 1 deletion samples/ChatbotExample/ReinforcementLearning/RLFeatures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public RLFeatures(Weather weather, DayOfWeek day)
/// </value>
public DayOfWeek DayOfWeek { get; private set; }

public Uri HostName => new Uri("https://localhost:5001");
public Uri HostName => new Uri("<Personalizer Azure Service Endpoint>");
}
}

0 comments on commit 070b458

Please sign in to comment.