Skip to content

Commit 2c272a9

Browse files
authored
Merge pull request #271080 from MicrosoftDocs/main
4/3/2024 PM Publish
2 parents 105a7c9 + 1e9ad37 commit 2c272a9

File tree

479 files changed

+4225
-2689
lines changed

Some content is hidden

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

479 files changed

+4225
-2689
lines changed

articles/ai-services/content-safety/concepts/groundedness.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The maximum character limit for the grounding sources is 55,000 characters per A
5757

5858
To use this API, you must create your Azure AI Content Safety resource in the supported regions. Currently, it's available in the following Azure regions:
5959
- East US 2
60-
- East US (only for non-reasoning)
60+
- East US
6161
- West US
6262
- Sweden Central
6363

@@ -75,4 +75,4 @@ If you need a higher rate, [contact us](mailto:[email protected]
7575
Follow the quickstart to get started using Azure AI Content Safety to detect groundedness.
7676

7777
> [!div class="nextstepaction"]
78-
> [Groundedness detection quickstart](../quickstart-groundedness.md)
78+
> [Groundedness detection quickstart](../quickstart-groundedness.md)

articles/ai-services/document-intelligence/how-to-guides/includes/v4-0/rest-api.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.author: lajanuar
1515
>
1616
> This project uses cURL command-line tool to execute REST API calls.
1717
18-
[Document Intelligence REST API](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP) | [Azure client libraries](https://azure.github.io/azure-sdk/releases/latest/index.html) | [Supported client libraries](../../../sdk-overview-v3-1.md)
18+
| [Document Intelligence REST API](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2024-02-29-preview&preserve-view=true&tabs=HTTP) | [Supported Azure SDKS](../../../sdk-overview-v4-0.md)
1919

2020
## Prerequisites
2121

@@ -62,26 +62,26 @@ Use the following table as a reference. Replace *\<modelId>* and *\<document-url
6262
Open a console window and run the following cURL command. The commands include the endpoint and key environment variables previously created in the set environment variables section. Replace those variables if your variable names differ. Remember to replace the *\<modelId>* and *\<document-url>* parameters.
6363

6464
```console
65-
curl -i -X POST "%FR_ENDPOINT%formrecognizer/documentModels/<modelId>:analyze?api-version=2023-07-31" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: %FR_KEY%" --data-ascii "{'urlSource': '<document-url>'}"
65+
curl -i -X POST "%DI_ENDPOINT%/documentintelligence/documentModels/{modelId}:analyze?api-version=2024-02-29-preview" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: %DI_KEY%" --data-ascii "{'urlSource': '<document-url>'}"
6666
```
6767

68-
To enable add-on capabilities, use the `features` query parameter in the POST request. There are four add-on capabilities available with the `2023-07-31` (GA) release: *ocr.highResolution*, *ocr.formula*, *ocr.font*, and *queryFields.premium*. To learn more about each of the capabilities, see [Custom models](../../../concept-accuracy-confidence.md).
68+
To enable add-on capabilities, use the `features` query parameter in the POST request. There are four add-on capabilities available with the `2023-07-31` (GA) and later releases: *ocr.highResolution*, *ocr.formula*, *ocr.font*, and *queryFields.premium*. To learn more about each of the capabilities, see [Custom models](../../../concept-accuracy-confidence.md).
6969

7070
You can only call the *highResolution*, *formula*, and *font* capabilities for the Read and Layout model, and the *queryFields* capability for the General Documents model. The following example shows how to call the *highResolution*, *formula*, and *font* capabilities for the Layout model.
7171

7272
```bash
73-
curl -i -X POST "%FR_ENDPOINT%formrecognizer/documentModels/prebuilt-layout:analyze?features=ocr.highResolution,ocr.formula,ocr.font?api-version=2023-07-31" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: %FR_KEY%" --data-ascii "{'urlSource': '<document-url>'}"
73+
curl -i -X POST "%DI_ENDPOINT%documentintelligence/documentModels/prebuilt-layout:analyze?features=ocr.highResolution,ocr.formula,ocr.font?api-version=2024-02-29-preview" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: %DI_KEY%" --data-ascii "{'urlSource': '<document-url>'}"
7474
```
7575

7676
### POST response
7777

7878
You receive a `202 (Success)` response that includes an `Operation-location` header. Use the value of this header to retrieve the response results.
7979

80-
:::image type="content" source="../../../media/how-to/rest-get-response.png" alt-text="Screenshot shows a POST response with the operation location highlighted.":::
80+
:::image type="content" source="../../../media/quickstarts/operation-location-result-id.png" alt-text="Screenshot shows a POST response with the operation location highlighted.":::
8181

8282
### Get analyze result (GET Request)
8383

84-
After you call the [`Analyze document`](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP) API, call the [`Get analyze` result}(/rest/api/aiservices/document-models/get-analyze-result?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP) API to get the status of the operation and the extracted data.
84+
After you call the [`Analyze document`](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2024-02-29-preview&preserve-view=true&tabs=HTTP) API, call the [`Get analyze` result}(/rest/api/aiservices/document-models/get-analyze-result?view=rest-aiservices-2024-02-29-preview&preserve-view=true&tabs=HTTP) API to get the status of the operation and the extracted data.
8585

8686
<!-- markdownlint-disable MD024 -->
8787

@@ -100,7 +100,7 @@ Use the NodeJS *json tool* as a JSON formatter for cURL. If you don't have [Node
100100
1. Pretty print the JSON output by including the pipe character `| json` with your GET requests.
101101

102102
```console
103-
curl -i -X GET "<endpoint>formrecognizer/documentModels/prebuilt-read/analyzeResults/0e49604a-2d8e-4b15-b6b8-bb456e5d3e0a?api-version=2023-07-31"-H "Ocp-Apim-Subscription-Key: <subscription key>" | json
103+
curl -i -X GET "<endpoint>documentintelligence/documentModels/prebuilt-read/analyzeResults/0e49604a-2d8e-4b15-b6b8-bb456e5d3e0a?api-version=2024-02-29-preview"-H "Ocp-Apim-Subscription-Key: <subscription key>" | json
104104
```
105105

106106
#### [macOS](#tab/macOS)
@@ -110,7 +110,7 @@ The *json_pp* command tool ships with macOS and can be used as a JSON formatter
110110
- Pretty print the JSON output by including `| json_pp` with your GET requests.
111111

112112
```console
113-
curl -i -X GET "{endpoint}formrecognizer/documentModels/prebuilt-read/analyzeResults/0e49604a-2d8e-4b15-b6b8-bb456e5d3e0a?api-version=2023-07-31"-H "Ocp-Apim-Subscription-Key: <subscription key>" | json_pp
113+
curl -i -X GET "{endpoint}documentintelligence/documentModels/prebuilt-read/analyzeResults/0e49604a-2d8e-4b15-b6b8-bb456e5d3e0a?api-version=2024-02-29-preview"-H "Ocp-Apim-Subscription-Key: <subscription key>" | json_pp
114114
```
115115

116116
#### [Linux](#tab/linux)
@@ -120,7 +120,7 @@ The *json_pp* command line tool is preinstalled in most Linux distributions. If
120120
- Pretty print the JSON output by including `| json_pp` with your `GET` requests.
121121

122122
```console
123-
curl -i -X GET "<endpoint>formrecognizer/documentModels/prebuilt-read/analyzeResults/0e49604a-2d8e-4b15-b6b8-bb456e5d3e0a?api-version=2023-07-31"-H "Ocp-Apim-Subscription-Key: <subscription key>" | json_pp
123+
curl -i -X GET "<endpoint>documentintelligence/documentModels/prebuilt-read/analyzeResults/0e49604a-2d8e-4b15-b6b8-bb456e5d3e0a?api-version=2024-02-29-preview"-H "Ocp-Apim-Subscription-Key: <subscription key>" | json_pp
124124
```
125125

126126
---
@@ -130,11 +130,11 @@ The *json_pp* command line tool is preinstalled in most Linux distributions. If
130130
Before you run the following command, make these changes:
131131

132132
- Replace *\<POST response>* with the `Operation-location` header from the [POST response](#post-response).
133-
- Replace *\<FR_KEY* with the variable for your environment variable if it differs from the name in the code.
133+
- Replace *\<DI_KEY* with the variable for your environment variable if it differs from the name in the code.
134134
- Replace *\<json-tool> with your JSON formatting tool.
135135

136136
```console
137-
curl -i -X GET "<POST response>" -H "Ocp-Apim-Subscription-Key: %FR_KEY%" | `<json-tool>`
137+
curl -i -X GET "<POST response>" -H "Ocp-Apim-Subscription-Key: %DI_KEY%" | `<json-tool>`
138138
```
139139

140140
### Examine the response
29 KB
Loading

articles/ai-services/document-intelligence/quickstarts/includes/rest-api.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
---
2-
title: "Quickstart: Document Intelligence (formerly Form Recognizer) REST API v3.0 | v3.0"
2+
title: "Quickstart: Document Intelligence (formerly Form Recognizer) REST API"
33
titleSuffix: Azure AI services
44
description: Form and document processing, data extraction, and analysis using Document Intelligence REST API v3.0
55
author: laujan
66
manager: nitinme
77
ms.service: azure-ai-document-intelligence
88
ms.topic: include
9-
ms.date: 03/28/2024
9+
ms.date: 04/02/2024
1010
ms.author: lajanuar
1111
---
1212

1313
<!-- markdownlint-disable MD036 -->
1414

15+
:::moniker range="doc-intel-4.0.0"
16+
| [Document Intelligence REST API](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2024-02-29-preview&preserve-view=true&tabs=HTTP) | [Supported Azure SDKS](../../sdk-overview-v4-0.md)
17+
:::moniker-end
18+
1519
:::moniker range="doc-intel-3.1.0"
1620
| [Document Intelligence REST API](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP) | [Supported Azure SDKS](../../sdk-overview-v3-1.md) |
1721
:::moniker-end
@@ -195,8 +199,8 @@ You receive a `200 (Success)` response with JSON output. The first field, `"stat
195199
```json
196200
{
197201
"status": "succeeded",
198-
"createdDateTime": "2023-11-25T19:31:37Z",
199-
"lastUpdatedDateTime": "2023-11-25T19:31:43Z",
202+
"createdDateTime": "2024-03-25T19:31:37Z",
203+
"lastUpdatedDateTime": "2024-03-25T19:31:43Z",
200204
"analyzeResult": {
201205
"apiVersion": "2024-02-29-preview",
202206
"modelId": "prebuilt-invoice",

articles/ai-services/openai/includes/assistants-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.topic: include
1010
ms.date: 03/05/2024
1111
---
1212

13-
[Source code](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/src) | [Package (NuGet)](https://www.nuget.org/packages/Azure.AI.OpenAI/)
13+
[Reference documentation](/dotnet/api/overview/azure/ai.openai.assistants-readme?context=/azure/ai-services/openai/context/context) | [Source code](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/src) | [Package (NuGet)](https://www.nuget.org/packages/Azure.AI.OpenAI/)
1414

1515
## Prerequisites
1616

articles/ai-services/openai/includes/assistants-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.topic: include
1010
ms.date: 02/01/2024
1111
---
1212

13-
<a href="https://github.com/openai/openai-python" target="_blank">Library source code</a> | <a href="https://pypi.org/project/openai/" target="_blank">Package (PyPi)</a> |
13+
[Reference documentation](/java/api/overview/azure/ai-openai-assistants-readme?context=/azure/ai-services/openai/context/context) | <a href="https://github.com/openai/openai-python" target="_blank">Library source code</a> | <a href="https://pypi.org/project/openai/" target="_blank">Package (PyPi)</a> |
1414

1515
## Prerequisites
1616

articles/aks/howto-deploy-java-liberty-app.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,19 @@ The following steps guide you to create a Liberty runtime on AKS. After completi
5959
1. Create a new resource group. Because resource groups must be unique within a subscription, pick a unique name. An easy way to have unique names is to use a combination of your initials, today's date, and some identifier. For example, `ejb0913-java-liberty-project-rg`.
6060
1. Select *East US* as **Region**.
6161

62-
Create environment variables in your shell for the resource group name for the cluster.
63-
64-
### [Bash](#tab/in-bash)
65-
66-
```bash
67-
export RESOURCE_GROUP_NAME=<your-resource-group-name>
68-
```
69-
70-
### [PowerShell](#tab/in-powershell)
71-
72-
```powershell
73-
$Env:RESOURCE_GROUP_NAME="<your-resource-group-name>"
74-
```
75-
76-
---
62+
1. Create environment variables in your shell for the resource group name for the cluster.
63+
64+
### [Bash](#tab/in-bash)
65+
66+
```bash
67+
export RESOURCE_GROUP_NAME=<your-resource-group-name>
68+
```
69+
70+
### [PowerShell](#tab/in-powershell)
71+
72+
```powershell
73+
$Env:RESOURCE_GROUP_NAME="<your-resource-group-name>"
74+
```
7775

7876
1. Select **Next**, enter the **AKS** pane. This pane allows you to select an existing AKS cluster and Azure Container Registry (ACR), instead of causing the deployment to create a new one, if desired. This capability enables you to use the sidecar pattern, as shown in the [Azure architecture center](/azure/architecture/patterns/sidecar). You can also adjust the settings for the size and number of the virtual machines in the AKS node pool. For our purposes, just keep all the defaults on this pane.
7977

@@ -118,12 +116,12 @@ If you navigated away from the **Deployment is in progress** page, the following
118116
119117
---
120118
121-
These values are used later in this article. Note that several other useful commands are listed in the outputs.
119+
These values are used later in this article. Note that several other useful commands are listed in the outputs.
122120
123-
> [!NOTE]
124-
> You may notice a similar output named **appDeploymentYaml**. The difference between output *appDeploymentTemplateYaml* and *appDeploymentYaml* is:
125-
> * *appDeploymentTemplateYaml* is populated if and only if the deployment **does not include** an application.
126-
> * *appDeploymentYaml* is populated if and only if the deployment **does include** an application.
121+
> [!NOTE]
122+
> You may notice a similar output named **appDeploymentYaml**. The difference between output *appDeploymentTemplateYaml* and *appDeploymentYaml* is:
123+
> * *appDeploymentTemplateYaml* is populated if and only if the deployment **does not include** an application.
124+
> * *appDeploymentYaml* is populated if and only if the deployment **does include** an application.
127125
128126
## Create an Azure SQL Database
129127
@@ -213,7 +211,6 @@ Now that you gathered the necessary properties, you can build the application. T
213211
214212
#### [Bash](#tab/in-bash)
215213
216-
217214
```bash
218215
cd $BASE_DIR/java-app
219216
# The following variables are used for deployment file generation into target.

articles/api-management/TOC.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
href: api-management-key-concepts.md
1313
- name: API Management features availability
1414
href: api-management-features.md
15+
- name: API Management gateways
16+
href: api-management-gateways-overview.md
1517
- name: v2 service tiers
1618
href: v2-service-tiers-overview.md
1719
- name: Terminology
@@ -106,6 +108,8 @@
106108
items:
107109
- name: Networking options
108110
href: virtual-network-concepts.md
111+
- name: VNet injection - network requirements
112+
href: virtual-network-injection-resources.md
109113
- name: Deploy to a VNet - external
110114
href: api-management-using-with-vnet.md
111115
- name: Deploy to a VNet - internal
@@ -279,8 +283,6 @@
279283
href: configure-graphql-resolver.md
280284
- name: Manage APIs on-premises and in other clouds
281285
items:
282-
- name: API Management gateway overview
283-
href: api-management-gateways-overview.md
284286
- name: Self-hosted gateway overview
285287
href: self-hosted-gateway-overview.md
286288
- name: Deploy the gateway

articles/api-management/add-api-manually.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ms.custom: fasttrack-edit, devdivchpfy22
1414

1515
# Add an API manually
1616

17+
[!INCLUDE [api-management-availability-all-tiers](../../includes/api-management-availability-all-tiers.md)]
18+
1719
This article shows steps to add an API manually to the API Management instance. When you want to mock the API, you can create a blank API or define it manually. For details about mocking an API, see [Mock API responses](mock-api-responses.md).
1820

1921
If you want to import an existing API, see [related topics](#related-topics) section.

articles/api-management/api-management-api-import-restrictions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ms.author: danlep
1313

1414
# API import restrictions and known issues
1515

16+
[!INCLUDE [api-management-availability-all-tiers](../../includes/api-management-availability-all-tiers.md)]
17+
1618
When importing an API, you might encounter some restrictions or need to identify and rectify issues before you can successfully import. In this article, you'll learn:
1719

1820
* API Management's behavior during OpenAPI import.

0 commit comments

Comments
 (0)