Skip to content

Commit f998aad

Browse files
committed
update the Bicep landing page
2 parents c70075d + 6cd10c0 commit f998aad

File tree

394 files changed

+5794
-3459
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+5794
-3459
lines changed

.openpublishing.redirection.azure-monitor.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6649,9 +6649,14 @@
66496649
"redirect_url": "/azure/azure-functions/functions-monitoring",
66506650
"redirect_document_id": false
66516651
},
6652+
{
6653+
"source_path_from_root": "/articles/azure-monitor/app/app-insights-azure-ad-api.md",
6654+
"redirect_url": "/azure/azure-monitor/app/azure-ad-authentication",
6655+
"redirect_document_id": false
6656+
},
66526657
{
66536658
"source_path_from_root": "/articles/azure-monitor/app/resources-roles-access-control.md",
6654-
"redirect_url": "/azure/azure-monitor//roles-permissions-security",
6659+
"redirect_url": "/azure/azure-monitor/roles-permissions-security",
66556660
"redirect_document_id": false
66566661
},
66576662
{

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3633,6 +3633,11 @@
36333633
"redirect_url": "https://www.twilio.com/docs/usage/tutorials/serverless-webhooks-azure-functions-and-csharp",
36343634
"redirect_document_id": false
36353635
},
3636+
{
3637+
"source_path_from_root": "/articles/azure-functions/create-first-function-vs-code-web.md",
3638+
"redirect_url": "/azure/azure-functions",
3639+
"redirect_document_id": false
3640+
},
36363641
{
36373642
"source_path_from_root": "/articles/twilio-dotnet-how-to-use-for-voice-sms.md",
36383643
"redirect_url": "https://www.twilio.com/docs/usage/tutorials/serverless-webhooks-azure-functions-and-csharp",
@@ -4057,6 +4062,16 @@
40574062
"source_path_from_root":"/articles/cosmos-db/high-availability.md",
40584063
"redirect_url":"/azure/reliability/reliability-cosmos-db-nosql.md",
40594064
"redirect_document_id":false
4065+
},
4066+
{
4067+
"source_path_from_root":"/articles/migrate/how-to-assess.md",
4068+
"redirect_url":"/azure/migrate/whats-new#update-april-2024",
4069+
"redirect_document_id":false
4070+
},
4071+
{
4072+
"source_path_from_root":"/articles/migrate/prepare-isv-movere.md",
4073+
"redirect_url":"/azure/migrate/whats-new#update-april-2024",
4074+
"redirect_document_id":false
40604075
}
40614076
]
40624077
}

articles/ai-services/computer-vision/includes/quickstarts-sdk/identity-javascript-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.author: pafarley
1515

1616
Get started with facial recognition using the Face client library for JavaScript. Follow these steps to install the package and try out the example code for basic tasks. The Face service provides you with access to advanced algorithms for detecting and recognizing human faces in images. Follow these steps to install the package and try out the example code for basic face identification using remote images.
1717

18-
[Reference documentation](/javascript/api/overview/azure/cognitiveservices-face-readme) | [Library source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-face) | [Package (npm)](https://www.npmjs.com/package/@azure/cognitiveservices-face) | [Samples](/samples/browse/?products=azure&term=face&languages=javascript)
18+
[Reference documentation](/javascript/api/overview/azure/cognitiveservices-face-readme) | [Package (npm)](https://www.npmjs.com/package/@azure/cognitiveservices-face) | [Samples](/samples/browse/?products=azure&term=face&languages=javascript)
1919

2020
## Prerequisites
2121

articles/ai-services/computer-vision/includes/quickstarts-sdk/identity-python-sdk.md

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ ms.author: pafarley
1515

1616
Get started with facial recognition using the Face client library for Python. Follow these steps to install the package and try out the example code for basic tasks. The Face service provides you with access to advanced algorithms for detecting and recognizing human faces in images. Follow these steps to install the package and try out the example code for basic face identification using remote images.
1717

18-
[Reference documentation](/python/api/azure-ai-vision-face/azure.ai.vision.face) | [Library source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/face/azure-ai-vision-face/azure/ai/vision/face) | [Package (PiPy)](https://aka.ms/azsdk-python-face-pkg) | [Samples](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/face/azure-ai-vision-face/samples)
18+
[Reference documentation](/python/api/overview/azure/cognitiveservices/face-readme) | [Library source code](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/cognitiveservices/azure-cognitiveservices-vision-face) | [Package (PiPy)](https://pypi.org/project/azure-cognitiveservices-vision-face/) | [Samples](/samples/browse/?products=azure&term=face)
1919

2020
## Prerequisites
2121

2222
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
23-
* [Python 3.8+](https://www.python.org/)
23+
* [Python 3.x](https://www.python.org/)
2424
* Your Python installation should include [pip](https://pip.pypa.io/en/stable/). You can check if you have pip installed by running `pip --version` on the command line. Get pip by installing the latest version of Python.
2525
* [!INCLUDE [contributor-requirement](../../../includes/quickstarts/contributor-requirement.md)]
2626
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesFace" title="Create a Face resource" target="_blank">create a Face resource</a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
@@ -38,7 +38,7 @@ Get started with facial recognition using the Face client library for Python. Fo
3838
After installing Python, you can install the client library with:
3939

4040
```console
41-
python -m pip install azure-ai-vision-face
41+
pip install --upgrade azure-cognitiveservices-vision-face
4242
```
4343

4444
1. Create a new Python application
@@ -65,28 +65,25 @@ Get started with facial recognition using the Face client library for Python. Fo
6565
## Output
6666

6767
```console
68-
Person group: dbd92bf0-8b74-43fc-a27a-b127c1bb1b66
69-
face 1d09b50e-0fb6-430c-a47c-9bb235761c17 added to person ea92a5d5-5250-44db-88fb-3b32e1a1ecaf
70-
face 74e1807a-6c86-4c74-b497-a3bcdda8c631 added to person ea92a5d5-5250-44db-88fb-3b32e1a1ecaf
71-
face 512cc8ff-e18a-4702-9413-3c83af9a0915 added to person f03219b3-c2dc-4ad6-b00b-bd71792686ac
72-
face 899bbe8e-2d03-4941-8221-d087911df21b added to person f03219b3-c2dc-4ad6-b00b-bd71792686ac
73-
face dfc0d142-36b0-4d90-982b-b51570ead5a8 added to person 8697d263-be7b-4d78-ba40-b55305dbbeb6
74-
face 29939a66-9da2-46f2-b572-abbe4e0d754a added to person 8697d263-be7b-4d78-ba40-b55305dbbeb6
75-
Train the person group dbd92bf0-8b74-43fc-a27a-b127c1bb1b66
76-
The person group dbd92bf0-8b74-43fc-a27a-b127c1bb1b66 is trained successfully.
68+
Person group: c8e679eb-0b71-43b4-aa91-ab8200cae7df
69+
face 861d769b-d014-40e8-8b4a-7fd3bc9b425b added to person f80c1cfa-b8cb-46f8-9f7f-e72fbe402bc3
70+
face e3c356a4-1ac3-4c97-9219-14648997f195 added to person f80c1cfa-b8cb-46f8-9f7f-e72fbe402bc3
71+
face f9119820-c374-4c4d-b795-96ae2fec5069 added to person be4084a7-0c7b-4cf9-9463-3756d2e28e17
72+
face 67d626df-3f75-4801-9364-601b63c8296a added to person be4084a7-0c7b-4cf9-9463-3756d2e28e17
73+
face 19e2e8cc-5029-4087-bca0-9f94588fb850 added to person 3ff07c65-6193-4d3e-bf18-d7c106393cd5
74+
face dcc61e80-16b1-4241-ae3f-9721597bae4c added to person 3ff07c65-6193-4d3e-bf18-d7c106393cd5
75+
pg resource is c8e679eb-0b71-43b4-aa91-ab8200cae7df
76+
<msrest.pipeline.ClientRawResponse object at 0x00000240DAD47310>
77+
Training status: running.
78+
79+
Training status: succeeded.
80+
7781
Pausing for 10 seconds to avoid triggering rate limit on free account...
7882
Identifying faces in image
79-
Person is identified for face ID 5779a986-238c-499d-b22a-d2a7cec92e88 in image, with a confidence of 0.96725.
80-
verification result: True. confidence: 0.96725
81-
Person is identified for face ID a28a4997-600e-4595-be39-d7a7d0f8afc8 in image, with a confidence of 0.96921.
82-
verification result: True. confidence: 0.96921
83-
No person identified for face ID 02a56d35-f3a4-43eb-a295-f23a1b772de9 in image.
84-
Person is identified for face ID 5de2019a-c4d3-4021-b8d0-9a3b86adceb7 in image, with a confidence of 0.92886.
85-
verification result: True. confidence: 0.92886
86-
87-
The person group dbd92bf0-8b74-43fc-a27a-b127c1bb1b66 is deleted.
88-
89-
End of quickstart.
83+
Person for face ID 40582995-d3a8-41c4-a9d1-d17ae6b46c5c is identified in image, with a confidence of 0.96725.
84+
Person for face ID 7a0368a2-332c-4e7a-81c4-2db3d74c78c5 is identified in image, with a confidence of 0.96921.
85+
No person identified for face ID c4a3dd28-ef2d-457e-81d1-a447344242c4 in image.
86+
Person for face ID 360edf1a-1e8f-402d-aa96-1734d0c21c1c is identified in image, with a confidence of 0.92886.
9087
```
9188

9289

@@ -98,6 +95,10 @@ If you want to clean up and remove an Azure AI services subscription, you can de
9895
* [Portal](../../../multi-service-resource.md?pivots=azportal#clean-up-resources)
9996
* [Azure CLI](../../../multi-service-resource.md?pivots=azcli#clean-up-resources)
10097

98+
To delete the **PersonGroup** you created in this quickstart, run the following code in your script:
99+
100+
[!code-python[](~/cognitive-services-quickstart-code/python/Face/FaceQuickstart.py?name=snippet_deletegroup)]
101+
101102
## Next steps
102103

103104
In this quickstart, you learned how to use the Face client library for Python to do basic face identification. Next, learn about the different face detection models and how to specify the right model for your use case.
@@ -106,4 +107,4 @@ In this quickstart, you learned how to use the Face client library for Python to
106107
> [Specify a face detection model version](../../how-to/specify-detection-model.md)
107108
108109
* [What is the Face service?](../../overview-identity.md)
109-
* More extensive sample code can be found on [GitHub](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/face/azure-ai-vision-face/samples).
110+
* More extensive sample code can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/python/Face/FaceQuickstart.py).

articles/ai-services/computer-vision/includes/quickstarts-sdk/image-analysis-node-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the Image Analysis client library for JavaScript to analyze a remote image f
2222
> [!TIP]
2323
> The Analyze API can do many different operations other than generate image tags. See the [Image Analysis how-to guide](../../how-to/call-analyze-image.md) for examples that showcase all of the available features.
2424
25-
[Reference documentation](/javascript/api/@azure/cognitiveservices-computervision/) | [Library source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-computervision) | [Package (npm)](https://www.npmjs.com/package/@azure/cognitiveservices-computervision) | [Samples](/samples/browse/?products=azure&terms=computer-vision)
25+
[Reference documentation](/javascript/api/@azure/cognitiveservices-computervision/) | [Package (npm)](https://www.npmjs.com/package/@azure/cognitiveservices-computervision) | [Samples](/samples/browse/?products=azure&terms=computer-vision)
2626

2727
## Prerequisites
2828

articles/ai-services/computer-vision/includes/quickstarts-sdk/node-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the optical character recognition (OCR) client library to read printed and h
1818
> [!TIP]
1919
> You can also read text from a local image. See the [ComputerVisionClient](/javascript/api/@azure/cognitiveservices-computervision/computervisionclient) methods, such as **readInStream**. Or, see the sample code on [GitHub](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/javascript/ComputerVision/ComputerVisionQuickstart.js) for scenarios involving local images.
2020
21-
[Reference documentation](/javascript/api/@azure/cognitiveservices-computervision/) | [Library source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-computervision) | [Package (npm)](https://www.npmjs.com/package/@azure/cognitiveservices-computervision) | [Samples](/samples/browse/?products=azure&terms=computer-vision)
21+
[Reference documentation](/javascript/api/@azure/cognitiveservices-computervision/) | [Package (npm)](https://www.npmjs.com/package/@azure/cognitiveservices-computervision) | [Samples](/samples/browse/?products=azure&terms=computer-vision)
2222

2323
## Prerequisites
2424

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: "Incident response in Azure AI Content Safety"
3+
titleSuffix: Azure AI services
4+
description: Learn about content incidents and how you can use Azure AI Content Safety to handle them on your platform.
5+
#services: cognitive-services
6+
author: PatrickFarley
7+
manager: nitinme
8+
ms.service: azure-ai-content-safety
9+
ms.custom: build-2024
10+
ms.topic: conceptual
11+
ms.date: 04/11/2024
12+
ms.author: pafarley
13+
---
14+
15+
# Incident response
16+
17+
In content moderation scenarios, incident response is the process of identifying, analyzing, containing, eradicating, and recovering from cyber incidents that involve inappropriate or harmful content on online platforms.
18+
19+
An incident may involve a set of emerging content patterns (text, image, or other modalities) that violate Microsoft community guidelines or the customers' own policies and expectations. These incidents need to be mitigated quickly and accurately to avoid potential live site issues or harm to users and communities.
20+
21+
## Incident response API features
22+
23+
One way to deal with emerging content incidents is to use [Blocklists](/azure/ai-services/content-safety/how-to/use-blocklist), but that only allows exact text matching and no image matching. The Azure AI Content Safety incident response API offers the following advanced capabilities:
24+
- semantic text matching using embedding search with a lightweight classifier
25+
- image matching with a lightweight object-tracking model and embedding search.
26+
27+
## How it works
28+
29+
First, you use the API to create an incident object with a description. Then you add any number of image or text samples to the incident. No training step is needed.
30+
31+
Then, you can include your defined incident in a regular text analysis or image analysis request. The service will indicate whether the submitted content is an instance of your incident. The service can still do other content moderation tasks in the same API call.
32+
33+
## Limitations
34+
35+
### Language availability
36+
37+
The text incident response API supports all languages that are supported by Content Safety text moderation. See [Language support](/azure/ai-services/content-safety/language-support).
38+
39+
### Input limitations
40+
41+
See the following table for the input limitations of the incident response API:
42+
43+
| Object | Limitation |
44+
| :------------ | :----------- |
45+
| Maximum length of an incident name | 100 characters |
46+
| Maximum number of text/image samples per incident | 1000 |
47+
| Maximum size of each sample | Text: 500 characters<br>Image: 4 MB  |
48+
| Maximum number of text or image incidents per resource| 100 |
49+
| Supported Image formats | BMP, GIF, JPEG, PNG, TIF, WEBP |
50+
51+
### Region availability
52+
53+
To use this API, you must create your Azure AI Content Safety resource in one of the supported regions:
54+
- East US
55+
- Sweden Central
56+
57+
## Next steps
58+
59+
Follow the how-to guide to use the Azure AI Content Safety incident response API.
60+
61+
* [Use the incident response API](../how-to/incident-response.md)

0 commit comments

Comments
 (0)