Skip to content

Commit c455beb

Browse files
authored
Merge pull request #252134 from MicrosoftDocs/main
9/19/2023 PM Publish
2 parents a854192 + fc37393 commit c455beb

File tree

417 files changed

+2229
-1432
lines changed

Some content is hidden

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

417 files changed

+2229
-1432
lines changed

.openpublishing.redirection.azure-kubernetes-service.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
"source_path_from_root": "/articles/aks/aks-planned-maintenance-weekly-releases.md",
2020
"redirect_url": "/azure/aks/planned-maintenance",
2121
"redirect_document_id": false
22+
},
23+
{
24+
"source_path_from_root": "/articles/aks/create-k8s-cluster-with-aks-application-gateway-ingress.md",
25+
"redirect_url": "/azure/application-gateway/for-containers/overview",
26+
"redirect_document_id": false
2227
}
2328
]
2429
}

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22362,6 +22362,11 @@
2236222362
"redirect_url": "/azure/communication-services/how-tos/calling-sdk/lobby",
2236322363
"redirect_document_id": false
2236422364
},
22365+
{
22366+
"source_path_from_root": "/articles/communication-services/tutorials/widgets/click-to-call-widget.md",
22367+
"redirect_url": "/azure/communication-services/tutorials/calling-widget/calling-widget-overview",
22368+
"redirect_document_id": false
22369+
},
2236522370
{
2236622371
"source_path_from_root": "/articles/load-balancer/tutorial-load-balancer-standard-manage-portal.md",
2236722372
"redirect_url": "/azure/load-balancer/quickstart-load-balancer-standard-public-portal",

articles/active-directory-domain-services/policy-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Built-in policy definitions for Azure Active Directory Domain Services
33
description: Lists Azure Policy built-in policy definitions for Azure Active Directory Domain Services. These built-in policy definitions provide common approaches to managing your Azure resources.
4-
ms.date: 09/15/2023
4+
ms.date: 09/19/2023
55
ms.service: active-directory
66
ms.subservice: domain-services
77
author: justinha

articles/ai-services/computer-vision/how-to/generate-thumbnail.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ To call the API, do the following steps:
2727
1. Replace the value of `<thumbnailFile>` with the path and name of the file in which to save the returned thumbnail image.
2828
1. Replace the first part of the request URL (`westcentralus`) with the text in your own endpoint URL.
2929
[!INCLUDE [Custom subdomains notice](../../../../includes/cognitive-services-custom-subdomains-note.md)]
30-
1. Optionally, change the image URL in the request body (`https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Shorkie_Poo_Puppy.jpg/1280px-Shorkie_Poo_Puppy.jpg\`) to the URL of a different image from which to generate a thumbnail.
30+
1. Optionally, change the image URL in the request body (`https://learn.microsoft.com/azure/ai-services/computer-vision/media/quickstarts/presentation.png`) to the URL of a different image from which to generate a thumbnail.
3131
1. Open a command prompt window.
3232
1. Paste the command from the text editor into the command prompt window.
3333
1. Press enter to run the program.
3434

3535
```bash
36-
curl -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -o <thumbnailFile> -H "Content-Type: application/json" "https://westus.api.cognitive.microsoft.com/vision/v3.2/generateThumbnail?width=100&height=100&smartCropping=true" -d "{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Shorkie_Poo_Puppy.jpg/1280px-Shorkie_Poo_Puppy.jpg\"}"
36+
curl -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -o <thumbnailFile> -H "Content-Type: application/json" "https://westus.api.cognitive.microsoft.com/vision/v3.2/generateThumbnail?width=100&height=100&smartCropping=true" -d "{\"url\":\"https://learn.microsoft.com/azure/ai-services/computer-vision/media/quickstarts/presentation.png\"}"
3737
```
3838

3939
## Examine the response

articles/ai-services/computer-vision/includes/image-analysis-curl-quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ To analyze an image for various visual features, do the following steps:
3939
1. Copy the following command into a text editor.
4040

4141
```bash
42-
curl.exe -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -H "Content-Type: application/json" "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2/analyze?visualFeatures=Tags" -d "{'url':'https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Salto_del_Angel-Canaima-Venezuela08.jpg/800px-Salto_del_Angel-Canaima-Venezuela08.jpg'}"
42+
curl.exe -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -H "Content-Type: application/json" "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2/analyze?visualFeatures=Tags" -d "{'url':'https://learn.microsoft.com/azure/ai-services/computer-vision/media/quickstarts/presentation.png'}"
4343
```
4444

4545
1. Make the following changes in the command where needed:
4646
1. Replace the value of `<subscriptionKey>` with your key.
4747
1. Replace the first part of the request URL (`westcentralus`) with the text in your own endpoint URL.
4848
[!INCLUDE [Custom subdomains notice](../../../../includes/cognitive-services-custom-subdomains-note.md)]
49-
1. Optionally, change the image URL in the request body (`https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Salto_del_Angel-Canaima-Venezuela08.jpg/800px-Salto_del_Angel-Canaima-Venezuela08.jpg`) to the URL of a different image to be analyzed.
49+
1. Optionally, change the image URL in the request body (`https://learn.microsoft.com/azure/ai-services/computer-vision/media/quickstarts/presentation.png`) to the URL of a different image to be analyzed.
5050
1. Open a command prompt window.
5151
1. Paste your edited `curl` command from the text editor into the command prompt window, and then run the command.
5252

articles/ai-services/openai/concepts/use-your-data.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,12 @@ There is an [upload limit](../quotas-limits.md), and there are some caveats abou
7070
### Azure OpenAI resources
7171

7272
You can protect Azure OpenAI resources in [virtual networks and private endpoints](/azure/ai-services/cognitive-services-virtual-networks) the same way as any Azure AI service.
73+
> [!NOTE]
74+
> If you disable public network access for your Azure OpenAI resources, you can call the `/extensions/chat/completions` API or chat with your existing index in Azure OpenAI Studio. However, vector search and blob/file ingestion in the studio is not supported.
7375
7476
### Azure Cognitive Search resources
7577

76-
If you have an Azure Cognitive Search resource protected by a private network, and want to allow Azure OpenAI on your data to access your search service, complete [an application form](https://aka.ms/applyacsvpnaoaionyourdata). The application will be reviewed in five business days and you will be contacted via email about the results. If you are eligible, we will send a private endpoint request to your search service, and you will need to approve the request.
78+
If you have an Azure Cognitive Search resource protected by a private network, and want to allow Azure OpenAI on your data to access your search service, complete [an application form](https://aka.ms/applyacsvpnaoaionyourdata). The application will be reviewed in ten business days and you will be contacted via email about the results. If you are eligible, we will send a private endpoint request to your search service, and you will need to approve the request.
7779

7880
:::image type="content" source="../media/use-your-data/approve-private-endpoint.png" alt-text="A screenshot showing private endpoint approval screen." lightbox="../media/use-your-data/approve-private-endpoint.png":::
7981

@@ -96,6 +98,7 @@ To add a new data source to your Azure OpenAI resource, you need the following A
9698
|---------|---------|
9799
|[Cognitive Services Contributor](../how-to/role-based-access-control.md#cognitive-services-contributor) | You want to use Azure OpenAI on your data. |
98100
|[Search Index Data Contributor](/azure/role-based-access-control/built-in-roles#search-index-data-contributor) | You have an existing Azure Cognitive Search index that you want to use, instead of creating a new one. |
101+
|[Search Service Contributor](/azure/role-based-access-control/built-in-roles#search-service-contributor) | You plan to create a new Azure Cognitive Search index. |
99102
|[Storage Blob Data Contributor](/azure/role-based-access-control/built-in-roles#storage-blob-data-contributor) | You have an existing Blob storage container that you want to use, instead of creating a new one. |
100103

101104
## Document-level access control
@@ -221,6 +224,7 @@ Azure OpenAI on your data provides several search options you can use when you a
221224
> [!IMPORTANT]
222225
> * [Semantic search](/azure/search/semantic-search-overview#availability-and-pricing) and [vector search](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) are subject to additional pricing. You need to choose **Basic or higher SKU** to enable semantic search or vector search. See [pricing tier difference](/azure/search/search-sku-tier) and [service limits](/azure/search/search-limits-quotas-capacity) for more information.
223226
> * To help improve the quality of the information retrieval and model response, we recommend enabling [semantic search](/azure/search/semantic-search-overview) for the following languages: English, French, Spanish, Portuguese, Italian, Germany, Chinese(Zh), Japanese, Korean, Russian, Arabic
227+
> * If you enable vector search, you need to enable public network access for your Azure OpenAI resources.
224228
225229
| Search option | Retrieval type | Additional pricing? |Benefits|
226230
|---------------------|------------------------|---------------------| -------- |

articles/ai-services/openai/use-your-data-quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In this quickstart you can use your own data with Azure OpenAI models. Using Azu
3434

3535
- An Azure OpenAI resource with a chat model deployed (for example, GPT-3 or GPT-4). For more information about model deployment, see the [resource deployment guide](./how-to/create-resource.md).
3636

37-
- Your chat model must use version `0301`. You can view or change your model version in [Azure OpenAI Studio](./concepts/models.md#model-updates).
37+
- Your chat model can use version `gpt-35-turbo (0301)`, `gpt-35-turbo-16k`, `gpt-4`, and `gpt-4-32k`. You can view or change your model version in [Azure OpenAI Studio](./concepts/models.md#model-updates).
3838

3939
- Be sure that you are assigned at least the [Cognitive Services Contributor](./how-to/role-based-access-control.md#cognitive-services-contributor) role for the Azure OpenAI resource.
4040

articles/ai-services/policy-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Built-in policy definitions for Azure AI services
33
description: Lists Azure Policy built-in policy definitions for Azure AI services. These built-in policy definitions provide common approaches to managing your Azure resources.
4-
ms.date: 09/13/2023
4+
ms.date: 09/19/2023
55
author: nitinme
66
ms.author: nitinme
77
ms.service: cognitive-services

articles/ai-services/translator/reference/rest-api-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: translator-text
1010
ms.topic: reference
11-
ms.date: 07/18/2023
11+
ms.date: 09/18/2023
1212
ms.author: lajanuar
1313
---
1414

1515
# Text Translation REST API
1616

17-
Text Translation is a cloud-based feature of the Azure AI Translator service and is part of the Azure AI service family of REST APIs. The Text Translation API translates text between language pairs across all [supported languages and dialects](../../language-support.md). The available methods are listed in the table below:
17+
Text Translation is a cloud-based feature of the Azure AI Translator service and is part of the Azure AI service family of REST APIs. The Text Translation API translates text between language pairs across all [supported languages and dialects](../../language-support.md). The available methods are listed in the following table:
1818

1919
| Request| Method| Description|
2020
|---------|--------------|---------|

articles/ai-services/translator/reference/v3-0-break-sentence.md

Lines changed: 28 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,29 @@ Send a `POST` request to:
2323

2424
```HTTP
2525
https://api.cognitive.microsofttranslator.com/breaksentence?api-version=3.0
26+
2627
```
2728

29+
_See_ [**Virtual Network Support**](v3-0-reference.md#virtual-network-support) for Translator service selected network and private endpoint configuration and support.
30+
2831
## Request parameters
2932

3033
Request parameters passed on the query string are:
3134

3235
| Query Parameter | Description |
3336
| -------| ----------- |
3437
| api-version <img width=200/> | **Required query parameter**.<br/>Version of the API requested by the client. Value must be `3.0`. |
35-
| language | **Optional query parameter**.<br/>Language tag identifying the language of the input text. If a code isn't specified, automatic language detection will be applied. |
36-
| script | **Optional query parameter**.<br/>Script tag identifying the script used by the input text. If a script isn't specified, the default script of the language will be assumed. |
38+
| language | **Optional query parameter**.<br/>Language tag identifying the language of the input text. If a code isn't specified, automatic language detection is applied. |
39+
| script | **Optional query parameter**.<br/>Script tag identifying the script used by the input text. If a script isn't specified, the default script of the language is assumed. |
3740

3841
Request headers include:
3942

4043
| Headers | Description |
4144
| ------- | ----------- |
4245
| Authentication header(s) <img width=200/> | **Required request header**.<br/>See <a href="v3-0-reference.md#authentication">available options for authentication</a>. |
4346
| Content-Type | **Required request header**.<br/>Specifies the content type of the payload. Possible values are: `application/json`. |
44-
| Content-Length | **Required request header**.<br/>The length of the request body. |
45-
| X-ClientTraceId | **Optional**.<br/>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
47+
| Content-Length | **Required request header**.<br/>The length of the request body. |
48+
| X-ClientTraceId | **Optional**.<br/>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
4649

4750
## Request body
4851

@@ -59,21 +62,21 @@ The following limitations apply:
5962
* The array can have at most 100 elements.
6063
* The text value of an array element can't exceed 50,000 characters including spaces.
6164
* The entire text included in the request can't exceed 50,000 characters including spaces.
62-
* If the `language` query parameter is specified, then all array elements must be in the same language. Otherwise, language auto-detection is applied to each array element independently.
65+
* If the `language` query parameter is specified, then all array elements must be in the same language. Otherwise, language autodetection is applied to each array element independently.
6366

6467
## Response body
6568

6669
A successful response is a JSON array with one result for each string in the input array. A result object includes the following properties:
6770

68-
* `sentLen`: An array of integers representing the lengths of the sentences in the text element. The length of the array is the number of sentences, and the values are the length of each sentence.
71+
* `sentLen`: An array of integers representing the lengths of the sentences in the text element. The length of the array is the number of sentences, and the values are the length of each sentence.
6972

7073
* `detectedLanguage`: An object describing the detected language through the following properties:
7174

7275
* `language`: Code of the detected language.
7376

7477
* `score`: A float value indicating the confidence in the result. The score is between zero (0) and one (1.0). A low score (<= 0.4) indicates a low confidence.
7578

76-
The `detectedLanguage` property is only present in the result object when language auto-detection is requested.
79+
The `detectedLanguage` property is only present in the result object when language autodetection is requested.
7780

7881
An example JSON response is:
7982

@@ -95,57 +98,30 @@ An example JSON response is:
9598

9699
## Response headers
97100

98-
<table width="100%">
99-
<th width="20%">Headers</th>
100-
<th>Description</th>
101-
<tr>
102-
<td>X-RequestId</td>
103-
<td>Value generated by the service to identify the request. It's used for troubleshooting purposes.</td>
104-
</tr>
105-
</table>
101+
|Headers|Description|
102+
|--- |--- |
103+
|X-RequestId|Value generated by the service to identify the request. It's used for troubleshooting purposes.|
106104

107105
## Response status codes
108106

109-
The following are the possible HTTP status codes that a request returns.
110-
111-
<table width="100%">
112-
<th width="20%">Status Code</th>
113-
<th>Description</th>
114-
<tr>
115-
<td>200</td>
116-
<td>Success.</td>
117-
</tr>
118-
<tr>
119-
<td>400</td>
120-
<td>One of the query parameters is missing or not valid. Correct request parameters before retrying.</td>
121-
</tr>
122-
<tr>
123-
<td>401</td>
124-
<td>The request couldn't be authenticated. Check that credentials are specified and valid.</td>
125-
</tr>
126-
<tr>
127-
<td>403</td>
128-
<td>The request isn't authorized. Check the details error message. This response code often indicates that all free translations provided with a trial subscription have been used up.</td>
129-
</tr>
130-
<tr>
131-
<td>429</td>
132-
<td>The server rejected the request because the client has exceeded request limits.</td>
133-
</tr>
134-
<tr>
135-
<td>500</td>
136-
<td>An unexpected error occurred. If the error persists, report it with: date and time of the failure, request identifier from response header `X-RequestId`, and client identifier from request header `X-ClientTraceId`.</td>
137-
</tr>
138-
<tr>
139-
<td>503</td>
140-
<td>Server temporarily unavailable. Retry the request. If the error persists, report it with: date and time of the failure, request identifier from response header `X-RequestId`, and client identifier from request header `X-ClientTraceId`.</td>
141-
</tr>
142-
</table>
143-
144-
If an error occurs, the request will also return a JSON error response. The error code is a 6-digit number combining the 3-digit HTTP status code followed by a 3-digit number to further categorize the error. Common error codes can be found on the [v3 Translator reference page](./v3-0-reference.md#errors).
107+
The following are the possible HTTP status codes that a request returns.
108+
109+
|Status Code|Description|
110+
|--- |--- |
111+
|200|Success.|
112+
|400|One of the query parameters is missing or not valid. Correct request parameters before retrying.|
113+
|401|The request couldn't be authenticated. Check that credentials are specified and valid.|
114+
|403|The request isn't authorized. Check the details error message. This response code often indicates that all free translations provided with a trial subscription have been used up.|
115+
|429|The server rejected the request because the client has exceeded request limits.|
116+
|500|An unexpected error occurred. If the error persists, report it with: date and time of the failure, request identifier from response header `X-RequestId`, and client identifier from request header `X-ClientTraceId`.|
117+
|503|Server temporarily unavailable. Retry the request. If the error persists, report it with: date and time of the failure, request identifier from response header `X-RequestId`, and client identifier from request header `X-ClientTraceId`.|
118+
119+
120+
If an error occurs, the request returns a JSON error response. The error code is a 6-digit number combining the 3-digit HTTP status code followed by a 3-digit number to further categorize the error. Common error codes can be found on the [v3 Translator reference page](./v3-0-reference.md#errors).
145121

146122
## Examples
147123

148-
The following example shows how to obtain sentence boundaries for a single sentence. The language of the sentence is automatically detected by the service.
124+
The following example shows how to obtain sentence boundaries for a single sentence. The service automatically detects the sentence language.
149125

150126
```curl
151127
curl -X POST "https://api.cognitive.microsofttranslator.com/breaksentence?api-version=3.0" -H "Ocp-Apim-Subscription-Key: <client-secret>" -H "Content-Type: application/json" -d "[{'Text':'How are you? I am fine. What did you do today?'}]"

0 commit comments

Comments
 (0)