Skip to content

Commit 0f42ec1

Browse files
Merge pull request #229007 from laujan/patch-201
Update concept-composed-models.md
2 parents 123a294 + a5a65dd commit 0f42ec1

File tree

2 files changed

+25
-20
lines changed

2 files changed

+25
-20
lines changed

articles/applied-ai-services/form-recognizer/concept-composed-models.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: applied-ai-services
88
ms.subservice: forms-recognizer
99
ms.topic: conceptual
10-
ms.date: 12/15/2022
10+
ms.date: 02/28/2023
1111
ms.author: lajanuar
1212
recommendations: false
1313
---
@@ -29,11 +29,17 @@ recommendations: false
2929
With composed models, you can assign multiple custom models to a composed model called with a single model ID. It's useful when you've trained several models and want to group them to analyze similar form types. For example, your composed model might include custom models trained to analyze your supply, equipment, and furniture purchase orders. Instead of manually trying to select the appropriate model, you can use a composed model to determine the appropriate custom model for each analysis and extraction.
3030

3131
* ```Custom form``` and ```Custom template``` models can be composed together into a single composed model.
32+
3233
* With the model compose operation, you can assign up to 200 trained custom models to a single composed model. To analyze a document with a composed model, Form Recognizer first classifies the submitted form, chooses the best-matching assigned model, and returns results.
34+
3335
* For **_custom template models_**, the composed model can be created using variations of a custom template or different form types. This operation is useful when incoming forms may belong to one of several templates.
34-
* The response will include a ```docType``` property to indicate which of the composed models was used to analyze the document.
36+
37+
* The response includes a ```docType``` property to indicate which of the composed models was used to analyze the document.
38+
3539
* For ```Custom neural``` models the best practice is to add all the different variations of a single document type into a single training dataset and train on custom neural model. Model compose is best suited for scenarios when you have documents of different types being submitted for analysis.
3640

41+
* Pricing is the same whether you're using a composed model or selecting a specific model. One model analyzes each document. With composed models, the system performs a classification to check which of the composed custom models should be invoked and invokes the single best model for the document.
42+
3743
## Compose model limits
3844

3945
> [!NOTE]
@@ -49,9 +55,9 @@ With composed models, you can assign multiple custom models to a composed model
4955
|**Custom neural models v3.0 (preview)**|Not Supported|Not Supported|Supported|Not Supported|
5056
|**Custom Neural models v3.0 (GA)**|Not Supported|Not Supported|Not Supported|Supported|
5157

52-
* To compose a model trained with a prior version of the API (v2.1 or earlier), train a model with the v3.0 API using the same labeled dataset. That addition will ensure that the v2.1 model can be composed with other models.
58+
* To compose a model trained with a prior version of the API (v2.1 or earlier), train a model with the v3.0 API using the same labeled dataset. That addition ensures that the v2.1 model can be composed with other models.
5359

54-
* Models composed with v2.1 of the API will continue to be supported, requiring no updates.
60+
* Models composed with v2.1 of the API continue to be supported, requiring no updates.
5561

5662
* The limit for maximum number of custom models that can be composed is 100.
5763

@@ -70,7 +76,7 @@ The following resources are supported by Form Recognizer **v3.0** :
7076

7177
::: moniker range="form-recog-2.1.0"
7278

73-
The following resources are supported by Form Recognizer v2.1:
79+
Form Recognizer v2.1 supports the following resources:
7480

7581
| Feature | Resources |
7682
|----------|-------------------------|
@@ -84,4 +90,4 @@ Learn to create and compose custom models:
8490

8591
> [!div class="nextstepaction"]
8692
> [**Build a custom model**](how-to-guides/build-a-custom-model.md)
87-
> [**Compose custom models**](how-to-guides/compose-custom-models.md)
93+
> [**Compose custom models**](how-to-guides/compose-custom-models.md)

articles/applied-ai-services/form-recognizer/managed-identities-secured-access.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: applied-ai-services
88
ms.subservice: forms-recognizer
99
ms.topic: how-to
10-
ms.date: 01/18/2023
10+
ms.date: 02/28/2023
1111
ms.author: vikurpad
1212
monikerRange: '>=form-recog-2.1.0'
1313
recommendations: false
@@ -17,29 +17,29 @@ recommendations: false
1717

1818
[!INCLUDE [applies to v3.0 and v2.1](includes/applies-to-v3-0-and-v2-1.md)]
1919

20-
This how-to guide will walk you through the process of enabling secure connections for your Form Recognizer resource. You can secure the following connections:
20+
This how-to guide walks you through the process of enabling secure connections for your Form Recognizer resource. You can secure the following connections:
2121

2222
* Communication between a client application within a Virtual Network (VNET) and your Form Recognizer Resource.
2323

2424
* Communication between Form Recognizer Studio and your Form Recognizer resource.
2525

2626
* Communication between your Form Recognizer resource and a storage account (needed when training a custom model).
2727

28-
You'll be setting up your environment to secure the resources:
28+
You're setting up your environment to secure the resources:
2929

3030
:::image type="content" source="media/managed-identities/secure-config.png" alt-text="Screenshot of secure configuration with managed identity and private endpoints.":::
3131

3232
## Prerequisites
3333

34-
To get started, you'll need:
34+
To get started, you need:
3535

3636
* An active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/)—if you don't have one, you can [**create a free account**](https://azure.microsoft.com/free/).
3737

3838
* A [**Form Recognizer**](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) or [**Cognitive Services**](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource in the Azure portal. For detailed steps, _see_ [Create a Cognitive Services resource using the Azure portal](../../cognitive-services/cognitive-services-apis-create-account.md?tabs=multiservice%2cwindows).
3939

40-
* An [**Azure blob storage account**](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM) in the same region as your Form Recognizer resource. You'll create containers to store and organize your blob data within your storage account.
40+
* An [**Azure blob storage account**](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM) in the same region as your Form Recognizer resource. Create containers to store and organize your blob data within your storage account.
4141

42-
* An [**Azure virtual network**](https://portal.azure.com/#create/Microsoft.VirtualNetwork-ARM) in the same region as your Form Recognizer resource. You'll create a virtual network to deploy your application resources to train models and analyze documents.
42+
* An [**Azure virtual network**](https://portal.azure.com/#create/Microsoft.VirtualNetwork-ARM) in the same region as your Form Recognizer resource. Create a virtual network to deploy your application resources to train models and analyze documents.
4343

4444
* An **Azure data science VM** for [**Windows**](../../machine-learning/data-science-virtual-machine/provision-vm.md) or [**Linux/Ubuntu**](../../machine-learning/data-science-virtual-machine/dsvm-ubuntu-intro.md) to optionally deploy a data science VM in the virtual network to test the secure connections being established.
4545

@@ -49,23 +49,23 @@ Configure each of the resources to ensure that the resources can communicate wit
4949

5050
* Configure the Form Recognizer Studio to use the newly created Form Recognizer resource by accessing the settings page and selecting the resource.
5151

52-
* Validate that the configuration works by selecting the Read API and analyzing a sample document. If the resource was configured correctly, the request will successfully complete.
52+
* Validate that the configuration works by selecting the Read API and analyzing a sample document. If the resource was configured correctly, the request successfully completes.
5353

5454
* Add a training dataset to a container in the Storage account you created.
5555

5656
* Select the custom model tile to create a custom project. Ensure that you select the same Form Recognizer resource and the storage account you created in the previous step.
5757

5858
* Select the container with the training dataset you uploaded in the previous step. Ensure that if the training dataset is within a folder, the folder path is set appropriately.
5959

60-
* If you have the required permissions, the Studio will set the CORS setting required to access the storage account. If you don't have the permissions, you'll need to ensure that the CORS settings are configured on the Storage account before you can proceed.
60+
* If you have the required permissions, the Studio sets the CORS setting required to access the storage account. If you don't have the permissions, you need to ensure that the CORS settings are configured on the Storage account before you can proceed.
6161

6262
* Validate that the Studio is configured to access your training data, if you can see your documents in the labeling experience, all the required connections have been established.
6363

6464
You now have a working implementation of all the components needed to build a Form Recognizer solution with the default security model:
6565

6666
:::image type="content" source="media/managed-identities/default-config.png" alt-text="Screenshot of default security configuration.":::
6767

68-
Next, you'll complete the following steps:
68+
Next, complete the following steps:
6969

7070
* Setup managed identity on the Form Recognizer resource.
7171

@@ -105,7 +105,7 @@ Start configuring secure communications by navigating to the **Networking** tab
105105
106106
## Enable access to storage from Form Recognizer
107107

108-
To ensure that the Form Recognizer resource can access the training dataset, you'll need to add a role assignment for the managed identity that was created earlier.
108+
To ensure that the Form Recognizer resource can access the training dataset, you need to add a role assignment for your [managed identity](#setup-managed-identity-for-form-recognizer).
109109

110110
1. Staying on the storage account window in the Azure portal, navigate to the **Access Control (IAM)** tab in the left navigation bar.
111111

@@ -142,9 +142,9 @@ Great! You've configured your Form Recognizer resource to use a managed identity
142142
143143
## Configure private endpoints for access from VNETs
144144

145-
When you connect to resources from a virtual network, adding private endpoints will ensure both the storage account and the Form Recognizer resource are accessible from the virtual network.
145+
When you connect to resources from a virtual network, adding private endpoints ensures both the storage account, and the Form Recognizer resource are accessible from the virtual network.
146146

147-
Next, you'll configure the virtual network to ensure only resources within the virtual network or traffic router through the network will have access to the Form Recognizer resource and the storage account.
147+
Next, configure the virtual network to ensure only resources within the virtual network or traffic router through the network have access to the Form Recognizer resource and the storage account.
148148

149149
### Enable your virtual network and private endpoints
150150

@@ -162,8 +162,7 @@ Next, you'll configure the virtual network to ensure only resources within the v
162162

163163
### Configure your private endpoint
164164

165-
1. Navigate to the **Private endpoint connections** tab and select the **+ Private endpoint**. You'll be
166-
navigated to the **Create a private endpoint** dialog page.
165+
1. Navigate to the **Private endpoint connections** tab and select the **+ Private endpoint**. You're navigated to the **Create a private endpoint** dialog page.
167166

168167
1. On the **Create private endpoint** dialog page, select the following options:
169168

0 commit comments

Comments
 (0)