Skip to content

Commit e36f1a5

Browse files
committed
resolve moniker issues
1 parent 4b5e1cf commit e36f1a5

File tree

1 file changed

+29
-17
lines changed
  • articles/ai-services/document-intelligence/prebuilt

1 file changed

+29
-17
lines changed

articles/ai-services/document-intelligence/prebuilt/layout.md

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following illustration shows the typical components in an image of a sample
4242
:::moniker range="doc-intel-4.0.0"
4343

4444
Document Intelligence v4.0: **2024-11-30** (GA) supports the following tools, applications, and libraries:
45-
45+
4646
| Feature | Resources | Model ID |
4747
|----------|-------------|-----------|
4848
|**Layout model**|&bullet; [**Document Intelligence Studio**](https://documentintelligence.ai.azure.com)</br>&bullet; [**REST API**](/rest/api/aiservices/operation-groups?view=rest-aiservices-v4.0%20(2024-11-30)&preserve-view=true)</br>&bullet; [**C# SDK**](../versioning/sdk-overview-v4-0.md)</br>&bullet; [**Python SDK**](../quickstarts/get-started-sdks-rest-api.md?view=doc-intel-4.0.0&preserve-view=true)</br>&bullet; [**Java SDK**](../quickstarts/get-started-sdks-rest-api.md?view=doc-intel-4.0.0&preserve-view=true)</br>&bullet; [**JavaScript SDK**](../quickstarts/get-started-sdks-rest-api.md?view=doc-intel-4.0.0&preserve-view=true)|**prebuilt-layout**|
@@ -83,6 +83,8 @@ Document Intelligence v2.1 supports the following tools, applications, and libra
8383

8484
*See* our [Language Support—document analysis models](../language-support/ocr.md) page for a complete list of supported languages.
8585

86+
:::moniker range="doc-intel-4.0.0"
87+
8688
## Supported file types
8789

8890
Document Intelligence v4.0: **2024-11-30** (GA) layout model supports the following file formats:
@@ -91,8 +93,13 @@ Document Intelligence v4.0: **2024-11-30** (GA) layout model supports the follow
9193
|--------|:----:|:-----:|:---------------:|
9294
|Layout ||||
9395

96+
:::moniker-end
97+
9498
## Input guidance
9599

100+
:::moniker range="doc-intel-4.0.0"
101+
102+
96103
* For best results, provide one clear photo or high-quality scan per document.
97104

98105
* For PDF and TIFF, up to 2,000 pages can be processed (with a free tier subscription, only the first two pages are processed).
@@ -113,6 +120,23 @@ Document Intelligence v4.0: **2024-11-30** (GA) layout model supports the follow
113120

114121
For more information on model usage, quotas, and service limits, *see* [service limits](../service-limits.md).
115122

123+
:::moniker-end
124+
125+
:::moniker range="doc-intel-3.1.0 || doc-intel-3.0.0"
126+
127+
[!INCLUDE [input requirements](./../includes/input-requirements.md)]
128+
129+
:::moniker-end
130+
131+
:::moniker range="doc-intel-2.1.0"
132+
133+
* Supported file formats: JPEG, PNG, PDF, and TIFF.
134+
* Supported number of pages: For PDF and TIFF, up to 2,000 pages are processed. For free tier subscribers, only the first two pages are processed.
135+
* Supported file size: the file size must be less than 50 MB and dimensions at least 50 x 50 pixels and at most 10,000 x 10,000 pixels.
136+
137+
:::moniker-end
138+
139+
:::moniker range="doc-intel-4.0.0"
116140

117141
### Get started with Layout model
118142

@@ -601,6 +625,8 @@ poller = document_intelligence_client.begin_analyze_document(
601625
[!INCLUDE [applies to v2.1](../includes/applies-to-v21.md)]
602626
:::moniker-end
603627

628+
:::moniker range="<=doc-intel-3.1.0"
629+
604630
Document Intelligence layout model is an advanced machine-learning based document analysis API available in the Document Intelligence cloud. It enables you to take documents in various formats and return structured data representations of the documents. It combines an enhanced version of our powerful [Optical Character Recognition (OCR)](../../../ai-services/computer-vision/overview-ocr.md) capabilities with deep learning models to extract text, tables, selection marks, and document structure.
605631

606632
## Document layout analysis
@@ -614,22 +640,6 @@ The following illustration shows the typical components in an image of a sample
614640

615641
:::image type="content" source="../media/document-layout-example-new.png" alt-text="Illustration of document layout example.":::
616642

617-
## Input requirements
618-
619-
:::moniker range="doc-intel-3.1.0 || doc-intel-3.0.0"
620-
621-
[!INCLUDE [input requirements](./../includes/input-requirements.md)]
622-
623-
:::moniker-end
624-
625-
:::moniker range="doc-intel-2.1.0"
626-
627-
* Supported file formats: JPEG, PNG, PDF, and TIFF.
628-
* Supported number of pages: For PDF and TIFF, up to 2,000 pages are processed. For free tier subscribers, only the first two pages are processed.
629-
* Supported file size: the file size must be less than 50 MB and dimensions at least 50 x 50 pixels and at most 10,000 x 10,000 pixels.
630-
631-
:::moniker-end
632-
633643
### Get started with Layout model
634644

635645
See how data, including text, tables, table headers, selection marks, and structure information is extracted from documents using Document Intelligence. You need the following resources:
@@ -640,6 +650,8 @@ See how data, including text, tables, table headers, selection marks, and struct
640650

641651
:::image type="content" source="../media/containers/keys-and-endpoint.png" alt-text="Screenshot of keys and endpoint location in the Azure portal.":::
642652

653+
:::moniker-end
654+
643655
:::moniker range="doc-intel-3.1.0 || doc-intel-3.0.0"
644656

645657
> [!NOTE]

0 commit comments

Comments
 (0)