You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/cognitive-search-skill-ocr.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ The **Optical character recognition (OCR)** skill recognizes printed and handwri
19
19
An OCR skill uses the machine learning models provided by [Azure AI Vision](../ai-services/computer-vision/overview.md) API [v3.2](https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/5d986960601faab4bf452005) in Azure AI services. The **OCR** skill maps to the following functionality:
20
20
21
21
+ For the languages listed under [Azure AI Vision language support](../ai-services/computer-vision/language-support.md#optical-character-recognition-ocr), the [Read API](../ai-services/computer-vision/overview-ocr.md) is used.
22
-
+ For Greek and Serbian Cyrillic, the [legacy OCR](https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f20d) API is used.
22
+
23
+
+ For Greek and Serbian Cyrillic, the legacy [OCR in version 3.2](https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cognitiveservices/data-plane/ComputerVision/stable/v3.2) API is used.
23
24
24
25
The **OCR** skill extracts text from image files. Supported file formats include:
25
26
@@ -41,7 +42,7 @@ Parameters are case-sensitive.
41
42
42
43
| Parameter name | Description |
43
44
|--------------------|-------------|
44
-
|`detectOrientation`| Detects image orientation. Valid values are `true` or `false`. </p>This parameter only applies if the [legacy OCR](https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f20d) API is used. |
45
+
|`detectOrientation`| Detects image orientation. Valid values are `true` or `false`. </p>This parameter only applies if the [legacy OCR version 3.2](https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cognitiveservices/data-plane/ComputerVision/stable/v3.2) API is used. |
45
46
|`defaultLanguageCode`| Language code of the input text. Supported languages include all of the [generally available languages](../ai-services/computer-vision/language-support.md#analyze-image) of Azure AI Vision. You can also specify `unk` (Unknown). </p>If the language code is unspecified or null, the language is set to English. If the language is explicitly set to `unk`, all languages found are auto-detected and returned.|
46
47
|`lineEnding`| The value to use as a line separator. Possible values: "Space", "CarriageReturn", "LineFeed". The default is "Space". |
47
48
@@ -210,8 +211,6 @@ The above skillset example assumes that a normalized-images field exists. To gen
210
211
}
211
212
```
212
213
213
-
214
-
215
214
## See also
216
215
217
216
+[What is optical character recognition](../ai-services/computer-vision/overview-ocr.md)
Copy file name to clipboardExpand all lines: articles/search/search-indexer-howto-access-private.md
+18-9Lines changed: 18 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.service: cognitive-search
10
10
ms.custom:
11
11
- ignite-2023
12
12
ms.topic: how-to
13
-
ms.date: 02/22/2024
13
+
ms.date: 04/03/2024
14
14
---
15
15
16
16
# Make outbound connections through a shared private link
@@ -28,12 +28,15 @@ Shared private link is a premium feature that's billed by usage. When you set up
28
28
29
29
Azure AI Search makes outbound calls to other Azure PaaS resources in the following scenarios:
30
30
31
-
+ Indexer connection requests to supported data sources
32
-
+ Indexer (skillset) connections to Azure Storage for caching enrichments or writing to a knowledge store
31
+
+ Indexer or search engine connects to Azure OpenAI for text-to-vector embeddings
32
+
+ Indexer connects to supported data sources
33
+
+ Indexer (skillset) connections to Azure Storage for caching enrichments, debug session sate, or writing to a knowledge store
33
34
+ Encryption key requests to Azure Key Vault
34
35
+ Custom skill requests to Azure Functions or similar resource
35
36
36
-
In service-to-service communications, Azure AI Search typically sends a request over a public internet connection. However, if your data, key vault, or function should be accessed through a [private endpoint](../private-link/private-endpoint-overview.md), you must create a *shared private link*.
37
+
Shared private links only work for Azure-to-Azure connections. If you're connecting to OpenAI or another external model, the connection must be over the public internet.
38
+
39
+
Shared private links are for operations and data accessed through a [private endpoint](../private-link/private-endpoint-overview.md) for Azure resources or clients that run in an Azure virtual network.
37
40
38
41
A shared private link is:
39
42
@@ -51,21 +54,24 @@ There are two scenarios for using [Azure Private Link](../private-link/private-l
51
54
52
55
+ Scenario two: [configure search for a private *inbound* connection](service-create-private-endpoint.md) from clients that run in a virtual network.
53
56
57
+
Scenario one is covered in this article.
58
+
54
59
While both scenarios have a dependency on Azure Private Link, they are independent. You can create a shared private link without having to configure your own search service for a private endpoint.
55
60
56
61
### Limitations
57
62
58
63
When evaluating shared private links for your scenario, remember these constraints.
59
64
60
-
+ Several of the resource types used in a shared private link are in preview. If you're connecting to a preview resource (Azure Database for MySQL, Azure Functions, or Azure SQL Managed Instance), use a preview version of the Management REST API to create the shared private link. These versions include `2020-08-01-preview` or `2021-04-01-preview`.
65
+
+ Several of the resource types used in a shared private link are in preview. If you're connecting to a preview resource (Azure Database for MySQL, Azure Functions, or Azure SQL Managed Instance), use a preview version of the Management REST API to create the shared private link. These versions include `2020-08-01-preview`, `2021-04-01-preview`, and `2024-03-01-preview`.
61
66
62
67
+ Indexer execution must use the private execution environment that's specific to your search service. Private endpoint connections aren't supported from the multitenant environment. The configuration setting for this requirement is covered in this article.
63
68
64
69
## Prerequisites
65
70
66
71
+ An Azure AI Search at the Basic tier or higher. If you're using [AI enrichment](cognitive-search-concept-intro.md) and skillsets, the tier must be Standard 2 (S2) or higher. See [Service limits](search-limits-quotas-capacity.md#shared-private-link-resource-limits) for details.
67
72
68
-
+ An Azure PaaS resource from the following list of supported resource types, configured to run in a virtual network.
73
+
+ An Azure PaaS resource from the following list of [supported resource types](#supported-resource-types), configured to run in a virtual network.
74
+
69
75
70
76
+ Permissions on both Azure AI Search and the data source:
71
77
@@ -275,11 +281,14 @@ A `202 Accepted` response is returned on success. The process of creating an out
275
281
276
282
## 2 - Approve the private endpoint connection
277
283
278
-
Approval of the private endpoint connection is granted on the Azure PaaS side. If the service consumer has a role assignment on the service provider resource, the approval will be automatic. Otherwise, manual approval is required. For details, see [Manage Azure private endpoints](/azure/private-link/manage-private-endpoint).
284
+
Approval of the private endpoint connection is granted on the Azure PaaS side. Explicit approval by the resource owner is required. The following steps cover approval using the Azure portal, but here are some links to approve the connection programmatically from the Azure PaaS side:
285
+
286
+
+ On Azure Storage, use [Private Endpoint Connections - Put](/rest/api/storagerp/private-endpoint-connections/put)
287
+
+ On Azure Cosmos DB, use [Private Endpoint Connections - Create Or Update](/rest/api/cosmos-db-resource-provider/private-endpoint-connections/create-or-update)
279
288
280
-
This section assumes manual approval and the portal for this step, but you can also use the REST APIs of the Azure PaaS resource. [Private Endpoint Connections (Storage Resource Provider)](/rest/api/storagerp/privateendpointconnections) and [Private Endpoint Connections (Cosmos DB Resource Provider)](/rest/api/cosmos-db-resource-provider/2023-03-15/private-endpoint-connections) are two examples.
289
+
Using the Azure portal, perform the following steps:
281
290
282
-
1.In the Azure portal, open the **Networking** page of the Azure PaaS resource.[text](https://ms.portal.azure.com/#blade%2FHubsExtension%2FResourceMenuBlade%2Fid%2F%2Fsubscriptions%2Fa5b1ca8b-bab3-4c26-aebe-4cf7ec4791a0%2FresourceGroups%2Ftest-private-endpoint%2Fproviders%2FMicrosoft.Network%2FprivateEndpoints%2Ftest-private-endpoint)
291
+
1.Open the **Networking** page of the Azure PaaS resource.[text](https://ms.portal.azure.com/#blade%2FHubsExtension%2FResourceMenuBlade%2Fid%2F%2Fsubscriptions%2Fa5b1ca8b-bab3-4c26-aebe-4cf7ec4791a0%2FresourceGroups%2Ftest-private-endpoint%2Fproviders%2FMicrosoft.Network%2FprivateEndpoints%2Ftest-private-endpoint)
283
292
284
293
1. Find the section that lists the private endpoint connections. The following example is for a storage account.
Copy file name to clipboardExpand all lines: articles/search/search-manage-azure-cli.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom:
11
11
- devx-track-azurecli
12
12
- ignite-2023
13
13
ms.topic: how-to
14
-
ms.date: 02/21/2024
14
+
ms.date: 04/05/2024
15
15
---
16
16
17
17
# Manage your Azure AI Search service with the Azure CLI
@@ -21,10 +21,12 @@ ms.date: 02/21/2024
21
21
> *[Azure CLI](search-manage-azure-cli.md)
22
22
> *[REST API](search-manage-rest.md)
23
23
24
-
You can run Azure CLI commands and scripts on Windows, macOS, Linux, or in [Azure Cloud Shell](../cloud-shell/overview.md) to create and configure Azure AI Search. The [**az search**](/cli/azure/search) module extends the [Azure CLI](/cli/) with full parity to the [Search Management REST APIs](/rest/api/searchmanagement) and the ability to perform the following tasks:
24
+
You can run Azure CLI commands and scripts on Windows, macOS, Linux, or in Azure Cloud Shell to create and configure Azure AI Search.
25
+
26
+
Use the [**az search module**](/cli/azure/search) to perform the following tasks:
25
27
26
28
> [!div class="checklist"]
27
-
> *[List search services in a subscription](#list-search-services)
29
+
> *[List search services in a subscription](#list-services-in-a-subscription)
28
30
> *[Return service information](#get-search-service-information)
29
31
> *[Create or delete a service](#create-or-delete-a-service)
30
32
> *[Create a service with a private endpoint](#create-a-service-with-a-private-endpoint)
@@ -45,7 +47,7 @@ Preview administration features are typically not available in the **az search**
45
47
46
48
Azure CLI versions are [listed on GitHub](https://github.com/Azure/azure-cli/releases).
47
49
48
-
<aname="list-search-services"></a>
50
+
The [**az search**](/cli/azure/search) module extends the [Azure CLI](/cli/) with full parity to the stable versions of the [Search Management REST APIs](/rest/api/searchmanagement).
Copy file name to clipboardExpand all lines: articles/search/search-manage-powershell.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: PowerShell scripts using `Az.Search` module
2
+
title: PowerShell scripts using Azure Search PowerShell module
3
3
titleSuffix: Azure AI Search
4
4
description: Create and configure an Azure AI Search service with PowerShell. You can scale a service up or down, manage admin and query api-keys, and query for system information.
5
5
@@ -9,7 +9,7 @@ ms.author: heidist
9
9
ms.service: cognitive-search
10
10
ms.devlang: powershell
11
11
ms.topic: how-to
12
-
ms.date: 02/21/2024
12
+
ms.date: 04/05/2024
13
13
ms.custom:
14
14
- devx-track-azurepowershell
15
15
- ignite-2023
@@ -22,7 +22,9 @@ ms.custom:
22
22
> *[Azure CLI](search-manage-azure-cli.md)
23
23
> *[REST API](search-manage-rest.md)
24
24
25
-
You can run PowerShell cmdlets and scripts on Windows, Linux, or in [Azure Cloud Shell](../cloud-shell/overview.md) to create and configure Azure AI Search. The **Az.Search** module extends [Azure PowerShell](/powershell/) with full parity to the [Search Management REST APIs](/rest/api/searchmanagement) and the ability to perform the following tasks:
25
+
You can run PowerShell cmdlets and scripts on Windows, Linux, or in Azure Cloud Shell to create and configure Azure AI Search.
26
+
27
+
Use the [**Az.Search** module](/powershell/module/az.search/) to perform the following tasks:
26
28
27
29
> [!div class="checklist"]
28
30
> *[List search services in a subscription](#list-search-services)
@@ -42,6 +44,8 @@ You can't use tools or APIs to transfer content, such as an index, from one serv
42
44
43
45
Preview administration features are typically not available in the **Az.Search** module. If you want to use a preview feature, [use the Management REST API](search-manage-rest.md) and a preview API version.
44
46
47
+
The [**Az.Search** module](/powershell/module/az.search/) extends [Azure PowerShell](/powershell/) with full parity to the stable versions of the [Search Management REST APIs](/rest/api/searchmanagement).
Copy file name to clipboardExpand all lines: articles/search/service-create-private-endpoint.md
+23-6Lines changed: 23 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,26 +9,33 @@ ms.service: cognitive-search
9
9
ms.custom:
10
10
- ignite-2023
11
11
ms.topic: conceptual
12
-
ms.date: 01/10/2024
12
+
ms.date: 04/03/2024
13
13
---
14
14
15
15
# Create a Private Endpoint for a secure connection to Azure AI Search
16
16
17
-
In this article, learn how to secure an Azure AI Search service so that it can't be accessed over a public internet connection:
17
+
In this article, learn how to configure a private connection to Azure AI Search so that it admits requests from clients in a virtual network instead of over a public internet connection:
18
18
19
19
+[Create an Azure virtual network](#create-the-virtual-network) (or use an existing one)
20
20
+[Configure a search service to use a private endpoint](#create-a-search-service-with-a-private-endpoint)
21
21
+[Create an Azure virtual machine in the same virtual network](#create-a-virtual-machine)
22
22
+[Test using a browser session on the virtual machine](#connect-to-the-vm)
23
23
24
+
Other Azure resources that might privately connect to Azure AI Search include Azure OpenAI for "use your own data" scenarios. Azure OpenAI Studio doesn't run in a virtual network, but it can be configured on the backend to send requests over the Microsoft backbone network. Configuration for this traffic pattern is enabled by Microsoft when your request is submitted and approved. For this scenario:
25
+
26
+
+ Follow the instructions in this article to set up the private endpoint.
27
+
+[Submit a request](/azure/ai-services/openai/how-to/use-your-data-securely#disable-public-network-access-1) for Azure OpenAI Studio to connect using your private endpoint.
28
+
+ Optionally, [disable public network access](#disable-public-network-access) if connections should only originate from clients in virtual network or from Azure OpenAI over a private endpoint connection.
29
+
30
+
## Key points about private endpoints
31
+
24
32
Private endpoints are provided by [Azure Private Link](../private-link/private-link-overview.md), as a separate billable service. For more information about costs, see the [pricing page](https://azure.microsoft.com/pricing/details/private-link/).
25
33
26
-
You can create a private endpoint for a search service in the Azure portal, as described in this article. Alternatively, you can use the [Management REST API version](/rest/api/searchmanagement/), [Azure PowerShell](/powershell/module/az.search), or [Azure CLI](/cli/azure/search).
34
+
Once a search service has a private endpoint, portal access to that service must be initiated from a browser session on a virtual machine inside the virtual network. See [this step](#portal-access-private-search-service) for details.
27
35
28
-
> [!NOTE]
29
-
> Once a search service has a private endpoint, portal access to that service must be initiated from a browser session on a virtual machine inside the virtual network. See [this step](#portal-access-private-search-service) for details.
36
+
You can create a private endpoint for a search service in the Azure portal, as described in this article. Alternatively, you can use the [Management REST API version](/rest/api/searchmanagement/), [Azure PowerShell](/powershell/module/az.search), or [Azure CLI](/cli/azure/search).
30
37
31
-
## Why use a Private Endpoint for secure access?
38
+
## Why use a private endpoint?
32
39
33
40
[Private Endpoints](../private-link/private-endpoint-overview.md) for Azure AI Search allow a client on a virtual network to securely access data in a search index over a [Private Link](../private-link/private-link-overview.md). The private endpoint uses an IP address from the [virtual network address space](../virtual-network/ip-services/private-ip-addresses.md) for your search service. Network traffic between the client and the search service traverses over the virtual network and a private link on the Microsoft backbone network, eliminating exposure from the public internet. For a list of other PaaS services that support Private Link, check the [availability section](../private-link/private-link-overview.md#availability) in the product documentation.
34
41
@@ -229,6 +236,16 @@ To work around this restriction, connect to Azure portal from a browser on a vir
229
236
230
237
1. On a virtual machine in your virtual network, open a browser and sign in to the Azure portal. The portal will use the private endpoint attached to the virtual machine to connect to your search service.
231
238
239
+
## Disable public network access
240
+
241
+
You can lock down a search service to prevent it from admitting any request from the public internet. You can use the Azure portal for this step.
242
+
243
+
1. In the Azure portal, on the leftmost pane of your search service page, select **Networking**.
244
+
245
+
1. Select **Disabled** on the **Firewalls and virtual networks** tab.
246
+
247
+
You can also use the [Azure CLI](/cli/azure/search/service?view=azure-cli-latest#az-search-service-update&preserve-view=true), [Azure PowerShell](/powershell/module/az.search/set-azsearchservice), or the [Management REST API](/rest/api/searchmanagement/services/update), setting `public-access` or `public-network-access` to `disabled`.
248
+
232
249
## Clean up resources
233
250
234
251
When you're working in your own subscription, it's a good idea at the end of a project to identify whether you still need the resources you created. Resources left running can cost you money.
0 commit comments