Skip to content

Commit 9eec9b4

Browse files
Merge pull request #213936 from jcodella/patch-14
fixed link
2 parents 32f1689 + 0a0a3fc commit 9eec9b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cognitive-services/personalizer/includes/quickstart-local-inference-csharp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ using System.Linq;
8383

8484
The Personalizer client is a [PersonalizerClient](/dotnet/api/azure.ai.personalizer.personalizerclient?view=azure-dotnet-preview&branch=main) object that authenticates to Azure using Azure.AzureKeyCredential, which contains your key.
8585

86-
To ask for the single best item to show th user, create a [PersonalizerRankOptions](/dotnet/api/azure.ai.personalizer.personalizerrankoptions?view=azure-dotnet-preview&branch=main), then pass it to [PersonalizerClient.Rank](/dotnet/api/azure.ai.personalizer.personalizerclient.rank?view=azure-dotnet-preview&branch=main#azure-ai-personalizer-personalizerclient-rank(azure-ai-personalizer-personalizerrankoptions-system-threading-cancellationtoken)) method. The Rank method returns a [PersonalizerRankResult](/dotnet/api/azure.ai.personalizer.personalizerrankresult?view=azure-dotnet-preview&branch=main).
86+
To ask for the single best item to show the user, create a [PersonalizerRankOptions](/dotnet/api/azure.ai.personalizer.personalizerrankoptions?view=azure-dotnet-preview&branch=main), then pass it to [PersonalizerClient.Rank](/dotnet/api/azure.ai.personalizer.personalizerclient.rank?view=azure-dotnet-preview&branch=main#azure-ai-personalizer-personalizerclient-rank(azure-ai-personalizer-personalizerrankoptions-system-threading-cancellationtoken)) method. The Rank method returns a [PersonalizerRankResult](/dotnet/api/azure.ai.personalizer.personalizerrankresult?view=azure-dotnet-preview&branch=main).
8787

88-
To send a reward score to Personalizer, pass the event ID and the reward score to the [PersonalizerClient.Reward](/dotnet/api/azure.ai.personalizer.personalizerclient.reward?view=azure-dotnet-preview&branch=main#azure-ai-personalizer-personalizerclient-reward(system-string-system-single-system-threading-cancellationtoken) method.
88+
To send a reward score to Personalizer, pass the event ID and the reward score to the [PersonalizerClient.Reward](dotnet/api/azure.ai.personalizer.personalizerclient.reward?view=azure-dotnet-preview&branch=main#azure-ai-personalizer-personalizerclient-reward(system-string-system-single-system-threading-cancellationtoken) method.
8989

9090
Determining the reward score, in this quickstart is trivial. In a production system, the determination of what impacts the [reward score](../concept-rewards.md) and by how much can be a complex process, that you may decide to change over time. This design decision should be one of the primary decisions in your Personalizer architecture.
9191

@@ -114,7 +114,7 @@ private const string ServiceEndpoint = "https://REPLACE-WITH-YOUR-PERSONALIZER-
114114
private const string ResourceKey = "<REPLACE-WITH-YOUR-PERSONALIZER-KEY>";
115115
```
116116

117-
Next, construct the Rank and Reward URLs.
117+
Next, construct the Rank and Reward URLs. Note that setting `useLocalInference: true` as a parameter for `PersonalizerClientOptions` is required to enable local inference.
118118

119119
```csharp
120120
static PersonalizerClient InitializePersonalizerClient(Uri url)

0 commit comments

Comments
 (0)