Skip to content

Commit 3ac1228

Browse files
Merge pull request #109220 from diberry/diberry/0326-per-quickfix
[Cogsvcs] Personalizer - quick fix, create resource
2 parents c82a198 + 6f91c2c commit 3ac1228

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

articles/cognitive-services/personalizer/how-to-create-resource.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create Personalizer resource
33
description: Service configuration includes how the service treats rewards, how often the service explores, how often the model is retrained, and how much data is stored.
44
ms.topic: conceptual
5-
ms.date: 02/19/2020
5+
ms.date: 03/26/2020
66
---
77

88
# Create a Personalizer resource
@@ -24,28 +24,32 @@ Create a Personalizer resource for each feedback loop.
2424
2525
1. Select **Create** to create the resource.
2626

27-
1. Once your resource has deployed, select the **Go to Resource** button to go to your Personalizer resource. Go to the **Configuration** page for the new resource to [configure the learning loop](how-to-settings.md).
27+
1. After your resource has deployed, select the **Go to Resource** button to go to your Personalizer resource.
28+
29+
1. Select the **Quick start** page for your resource, then copy the values for your endpoint and key. You need both the resource endpoint and key to use the Rank and Reward APIs.
30+
31+
1. Select the **Configuration** page for the new resource to [configure the learning loop](how-to-settings.md).
2832

2933
## Create a resource with the Azure CLI
3034

3135
1. Sign in to the Azure CLI with the following command:
3236

33-
```bash
37+
```azurecli-interactive
3438
az login
3539
```
3640
3741
1. Create a resource group, a logical grouping to manage all Azure resources you intend to use with the Personalizer resource.
3842
3943
40-
```bash
44+
```azurecli-interactive
4145
az group create \
4246
--name your-personalizer-resource-group \
4347
--location westus2
4448
```
4549
4650
1. Create a new Personalizer resource, _learning loop_, with the following command for an existing resource group.
4751
48-
```bash
52+
```azurecli-interactive
4953
az cognitiveservices account create \
5054
--name your-personalizer-learning-loop \
5155
--resource-group your-personalizer-resource-group \
@@ -54,6 +58,19 @@ Create a Personalizer resource for each feedback loop.
5458
--location westus2 \
5559
--yes
5660
```
61+
62+
This returns a JSON object, which includes your **resource endpoint**.
63+
64+
1. Use the following Azure CLI command to get your **resource key**.
65+
66+
```azurecli-interactive
67+
az cognitiveservices account keys list \
68+
--name your-personalizer-learning-loop \
69+
--resource-group your-personalizer-resource-group
70+
```
71+
72+
You need both the resource endpoint and key to use the Rank and Reward APIs.
73+
5774
## Next steps
5875
5976
* [Configure](how-to-settings.md) Personalizer learning loop

articles/cognitive-services/personalizer/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ If you are unsure about how your learning loop is currently behaving, run an [of
5757

5858
**Answer**: Personalizer returns the same probabilities in a Rank API result when it has just started and has an _empty_ model, or when you reset the Personalizer Loop, and your model is still within your **Model update frequency** period.
5959

60-
When the new update period begins, the updated model is used, and youll see the probabilities change.
60+
When the new update period begins, the updated model is used, and you'll see the probabilities change.
6161

6262
</details>
6363

@@ -88,7 +88,7 @@ When the new update period begins, the updated model is used, and you’ll see t
8888
</details>
8989

9090
<details>
91-
<summary><b>I created an offline evaluation and it succeeded almost instantly. Why is that? I dont see any results?</b></summary>
91+
<summary><b>I created an offline evaluation and it succeeded almost instantly. Why is that? I don't see any results?</b></summary>
9292

9393
**Answer**: The offline evaluation uses the trained model data from the events in that time period. If you did not send any data in the time period between start and end time of the evaluation, it will complete without any results. Submit a new offline evaluation by selecting a time range with events you know were sent to Personalizer.
9494

0 commit comments

Comments
 (0)