Skip to content

Commit 04db544

Browse files
committed
update content safety note for serverless deployment
1 parent 9cd4170 commit 04db544

13 files changed

+86
-125
lines changed

articles/ai-studio/how-to/deploy-models-cohere-command.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,8 @@ except HttpResponseError as ex:
490490
raise
491491
```
492492

493-
> [!TIP]
494-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
493+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
494+
495495

496496
::: zone-end
497497

@@ -977,8 +977,8 @@ catch (error) {
977977
}
978978
```
979979
980-
> [!TIP]
981-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
980+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
981+
982982
983983
::: zone-end
984984
@@ -1489,8 +1489,8 @@ catch (RequestFailedException ex)
14891489
}
14901490
```
14911491
1492-
> [!TIP]
1493-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1492+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
1493+
14941494
14951495
::: zone-end
14961496
@@ -2117,8 +2117,8 @@ The following example shows how to handle events when the model detects harmful
21172117
}
21182118
```
21192119

2120-
> [!TIP]
2121-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
2120+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
2121+
21222122

21232123
::: zone-end
21242124

articles/ai-studio/how-to/deploy-models-deepseek.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ except HttpResponseError as ex:
269269
raise
270270
```
271271

272-
> [!TIP]
273-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
272+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
273+
274274

275275
::: zone-end
276276

@@ -542,8 +542,8 @@ catch (error) {
542542
}
543543
```
544544
545-
> [!TIP]
546-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
545+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
546+
547547
548548
::: zone-end
549549
@@ -835,8 +835,8 @@ catch (RequestFailedException ex)
835835
}
836836
```
837837
838-
> [!TIP]
839-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
838+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
839+
840840
841841
::: zone-end
842842
@@ -1121,8 +1121,8 @@ The following example shows how to handle events when the model detects harmful
11211121
}
11221122
```
11231123

1124-
> [!TIP]
1125-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1124+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
1125+
11261126

11271127
::: zone-end
11281128

articles/ai-studio/how-to/deploy-models-gretel-navigator.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ except HttpResponseError as ex:
266266

267267
```
268268

269-
> [!TIP]
270-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
269+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
270+
271271

272272
::: zone-end
273273

@@ -509,8 +509,8 @@ The following example shows how to handle events when the model detects harmful
509509
}
510510
```
511511

512-
> [!TIP]
513-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
512+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
513+
514514

515515
::: zone-end
516516

articles/ai-studio/how-to/deploy-models-jais.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,7 @@ except HttpResponseError as ex:
272272
raise
273273
```
274274

275-
> [!TIP]
276-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
275+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
277276

278277
::: zone-end
279278

@@ -546,8 +545,8 @@ catch (error) {
546545
}
547546
```
548547
549-
> [!TIP]
550-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
548+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
549+
551550
552551
::: zone-end
553552
@@ -836,8 +835,8 @@ catch (RequestFailedException ex)
836835
}
837836
```
838837
839-
> [!TIP]
840-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
838+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
839+
841840
842841
::: zone-end
843842
@@ -1158,8 +1157,8 @@ The following example shows how to handle events when the model detects harmful
11581157
}
11591158
```
11601159

1161-
> [!TIP]
1162-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1160+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
1161+
11631162

11641163
::: zone-end
11651164

articles/ai-studio/how-to/deploy-models-llama.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,8 @@ except HttpResponseError as ex:
357357
raise
358358
```
359359

360-
> [!TIP]
361-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
360+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
362361

363-
> [!NOTE]
364-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
365362

366363
::: zone-end
367364

@@ -705,11 +702,8 @@ catch (error) {
705702
}
706703
```
707704
708-
> [!TIP]
709-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
705+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
710706
711-
> [!NOTE]
712-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
713707
714708
::: zone-end
715709
@@ -1065,11 +1059,8 @@ catch (RequestFailedException ex)
10651059
}
10661060
```
10671061

1068-
> [!TIP]
1069-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1062+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
10701063

1071-
> [!NOTE]
1072-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
10731064

10741065
::: zone-end
10751066

@@ -1449,11 +1440,8 @@ The following example shows how to handle events when the model detects harmful
14491440
}
14501441
```
14511442
1452-
> [!TIP]
1453-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1443+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
14541444
1455-
> [!NOTE]
1456-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
14571445
14581446
::: zone-end
14591447

articles/ai-studio/how-to/deploy-models-mistral-codestral.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@ except HttpResponseError as ex:
466466
raise
467467
```
468468

469-
> [!TIP]
470-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
469+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
470+
471471

472472
::: zone-end
473473

@@ -929,8 +929,8 @@ catch (error) {
929929
}
930930
```
931931
932-
> [!TIP]
933-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
932+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
933+
934934
935935
::: zone-end
936936
@@ -1414,8 +1414,8 @@ catch (RequestFailedException ex)
14141414
}
14151415
```
14161416
1417-
> [!TIP]
1418-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1417+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
1418+
14191419
14201420
::: zone-end
14211421
@@ -2025,8 +2025,8 @@ The following example shows how to handle events when the model detects harmful
20252025
}
20262026
```
20272027

2028-
> [!TIP]
2029-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
2028+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
2029+
20302030

20312031
::: zone-end
20322032

articles/ai-studio/how-to/deploy-models-mistral-nemo.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ except HttpResponseError as ex:
461461
raise
462462
```
463463

464-
> [!TIP]
465-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
464+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
465+
466466

467467
::: zone-end
468468

@@ -920,8 +920,8 @@ catch (error) {
920920
}
921921
```
922922
923-
> [!TIP]
924-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
923+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
924+
925925
926926
::: zone-end
927927
@@ -1401,8 +1401,8 @@ catch (RequestFailedException ex)
14011401
}
14021402
```
14031403
1404-
> [!TIP]
1405-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1404+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
1405+
14061406
14071407
::: zone-end
14081408
@@ -2008,8 +2008,8 @@ The following example shows how to handle events when the model detects harmful
20082008
}
20092009
```
20102010

2011-
> [!TIP]
2012-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
2011+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
2012+
20132013

20142014
::: zone-end
20152015

articles/ai-studio/how-to/deploy-models-mistral.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ except HttpResponseError as ex:
510510
raise
511511
```
512512

513-
> [!TIP]
514-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
513+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
514+
515515

516516
::: zone-end
517517

@@ -1019,8 +1019,8 @@ catch (error) {
10191019
}
10201020
```
10211021
1022-
> [!TIP]
1023-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1022+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
1023+
10241024
10251025
::: zone-end
10261026
@@ -1550,8 +1550,8 @@ catch (RequestFailedException ex)
15501550
}
15511551
```
15521552
1553-
> [!TIP]
1554-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1553+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
1554+
15551555
15561556
::: zone-end
15571557
@@ -2207,8 +2207,7 @@ The following example shows how to handle events when the model detects harmful
22072207
}
22082208
```
22092209

2210-
> [!TIP]
2211-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
2210+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
22122211

22132212
::: zone-end
22142213

articles/ai-studio/how-to/deploy-models-phi-3-5-vision.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,8 @@ except HttpResponseError as ex:
308308
raise
309309
```
310310

311-
> [!TIP]
312-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
311+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
313312

314-
> [!NOTE]
315-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
316313

317314
## Use chat completions with images
318315

@@ -699,11 +696,8 @@ catch (error) {
699696
}
700697
```
701698
702-
> [!TIP]
703-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
699+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
704700
705-
> [!NOTE]
706-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
707701
708702
## Use chat completions with images
709703
@@ -1108,11 +1102,8 @@ catch (RequestFailedException ex)
11081102
}
11091103
```
11101104

1111-
> [!TIP]
1112-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1105+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
11131106

1114-
> [!NOTE]
1115-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
11161107

11171108
## Use chat completions with images
11181109

@@ -1526,11 +1517,8 @@ The following example shows how to handle events when the model detects harmful
15261517
}
15271518
```
15281519

1529-
> [!TIP]
1530-
> To learn more about how you can configure and control Azure AI content safety settings, check the [Azure AI content safety documentation](https://aka.ms/azureaicontentsafety).
1520+
[!INCLUDE [content-safety-serverless-apis-note](../includes/content-safety-serverless-apis-note.md)]
15311521

1532-
> [!NOTE]
1533-
> Azure AI content safety is only available for models deployed as serverless API endpoints.
15341522

15351523
## Use chat completions with images
15361524

0 commit comments

Comments
 (0)