Skip to content

Commit ae7e9b0

Browse files
author
Jill Grant
authored
Merge pull request #253096 from alexbuckgit/alexbuckgit/docutune-autopr-20230927-234151-7893995-ignore-build
[BULK] - DocuTune - Fix code formatting issues (part 1)
2 parents 8fef949 + fa692ca commit ae7e9b0

File tree

8 files changed

+520
-510
lines changed

8 files changed

+520
-510
lines changed

articles/active-directory/app-provisioning/skip-out-of-scope-deletions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ Copy the Response into a text file. It looks like the JSON text shown, with valu
5959
Here's the JSON block to add to the mapping.
6060

6161
```json
62-
{
63-
"key": "SkipOutOfScopeDeletions",
64-
"value": "True"
65-
}
62+
{
63+
"key": "SkipOutOfScopeDeletions",
64+
"value": "True"
65+
}
6666
```
6767

6868
## Step 4: Update the secrets endpoint with the SkipOutOfScopeDeletions flag

articles/ai-services/LUIS/luis-tutorial-node-import-utterances-csv.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,22 @@ The column entries that contain the utterances in the CSV have to be parsed into
6767
For example, the entry for "Turn on the lights" maps to this JSON:
6868

6969
```json
70+
{
71+
"text": "Turn on the lights",
72+
"intentName": "TurnOn",
73+
"entityLabels": [
7074
{
71-
"text": "Turn on the lights",
72-
"intentName": "TurnOn",
73-
"entityLabels": [
74-
{
75-
"entityName": "Operation",
76-
"startCharIndex": 5,
77-
"endCharIndex": 6
78-
},
79-
{
80-
"entityName": "Device",
81-
"startCharIndex": 12,
82-
"endCharIndex": 17
83-
}
84-
]
75+
"entityName": "Operation",
76+
"startCharIndex": 5,
77+
"endCharIndex": 6
78+
},
79+
{
80+
"entityName": "Device",
81+
"startCharIndex": 12,
82+
"endCharIndex": 17
8583
}
84+
]
85+
}
8686
```
8787

8888
In this example, the `intentName` comes from the user request under the **Request** column heading in the CSV file, and the `entityName` comes from the other columns with key information. For example, if there's an entry for **Operation** or **Device**, and that string also occurs in the actual request, then it can be labeled as an entity. The following code demonstrates this parsing process. You can copy or [download](https://github.com/Azure-Samples/cognitive-services-language-understanding/blob/master/examples/build-app-programmatically-csv/_parse.js) it and save it to `_parse.js`.

articles/ai-services/language-service/text-analytics-for-health/concepts/relation-extraction.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,33 @@ Text Analytics for health features relation extraction, which is used to identi
2424
Relation extraction output contains URI references and assigned roles of the entities of the relation type. For example, in the following JSON:
2525

2626
```json
27-
"relations": [
28-
{
29-
"relationType": "DosageOfMedication",
30-
"entities": [
31-
{
32-
"ref": "#/results/documents/0/entities/0",
33-
"role": "Dosage"
34-
},
35-
{
36-
"ref": "#/results/documents/0/entities/1",
37-
"role": "Medication"
38-
}
39-
]
40-
},
41-
{
42-
"relationType": "RouteOfMedication",
43-
"entities": [
44-
{
45-
"ref": "#/results/documents/0/entities/1",
46-
"role": "Medication"
47-
},
48-
{
49-
"ref": "#/results/documents/0/entities/2",
50-
"role": "Route"
51-
}
52-
]
53-
...
27+
"relations": [
28+
{
29+
"relationType": "DosageOfMedication",
30+
"entities": [
31+
{
32+
"ref": "#/results/documents/0/entities/0",
33+
"role": "Dosage"
34+
},
35+
{
36+
"ref": "#/results/documents/0/entities/1",
37+
"role": "Medication"
38+
}
39+
]
40+
},
41+
{
42+
"relationType": "RouteOfMedication",
43+
"entities": [
44+
{
45+
"ref": "#/results/documents/0/entities/1",
46+
"role": "Medication"
47+
},
48+
{
49+
"ref": "#/results/documents/0/entities/2",
50+
"role": "Route"
51+
}
52+
]
53+
}
5454
]
5555
```
5656

articles/azure-maps/how-to-manage-pricing-tier.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,26 @@ To change your pricing tier from Gen1 to Gen2 in the ARM template, update `prici
4646
:::image type="content" source="./media/how-to-manage-pricing-tier/arm-template.png" border="true" alt-text="Screenshot of an ARM template that demonstrates updating pricingTier to G2 and kind to Gen2.":::
4747
4848
```json
49-
"pricingTier": {
50-
"type": "string",
51-
"allowedValues":[
52-
"G2"
53-
],
54-
"defaultValue": "G2",
55-
"metadata": {
56-
"description": "The pricing tier SKU for the account."
57-
}
58-
},
59-
"kind": {
60-
"type": "string",
61-
"allowedValues":[
62-
"Gen2"
63-
],
64-
"defaultValue": "Gen2",
65-
"metadata": {
66-
"description": "The pricing tier for the account."
67-
}
68-
}
49+
"pricingTier": {
50+
"type": "string",
51+
"allowedValues":[
52+
"G2"
53+
],
54+
"defaultValue": "G2",
55+
"metadata": {
56+
"description": "The pricing tier SKU for the account."
57+
}
58+
},
59+
"kind": {
60+
"type": "string",
61+
"allowedValues":[
62+
"Gen2"
63+
],
64+
"defaultValue": "Gen2",
65+
"metadata": {
66+
"description": "The pricing tier for the account."
67+
}
68+
}
6969
```
7070
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.maps/maps-create/azuredeploy.json" range="27-46":::
7171
--->

0 commit comments

Comments
 (0)