Skip to content

Commit 8a70ea7

Browse files
authored
Merge pull request #179997 from aahill/ta4h-char-update
updating character limit for TA4H
2 parents f6103ba + e7ef973 commit 8a70ea7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

articles/cognitive-services/language-service/text-analytics-for-health/how-to/call-api.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: conceptual
11-
ms.date: 11/02/2021
11+
ms.date: 11/18/2021
1212
ms.author: aahi
1313
ms.custom: language-service-health, ignite-fall-2021
1414
---
@@ -89,12 +89,14 @@ When using this feature asynchronously, the API results are available for 24 hou
8989
9090
| Limit | Value |
9191
|------------------------|---------------|
92-
| Maximum size of a single document | 5,120 characters as measured by [StringInfo.LengthInTextElements](/dotnet/api/system.globalization.stringinfo.lengthintextelements). |
92+
| Maximum size of a single document | 30,720 characters as measured by [StringInfo.LengthInTextElements](/dotnet/api/system.globalization.stringinfo.lengthintextelements). |
9393
| Maximum size of entire request | 1 MB |
9494
| Max Documents Per Request | 10 for the web-based API, 1000 for the container. |
9595

9696
If a document exceeds the character limit, the API won't process a document that exceeds the maximum size, and will return an invalid document error for it. If an API request has multiple documents, the API will continue processing them if they are within the character limit.
9797

98+
When you send a document larger than 5,120 characters, it will be split by Text Analytics for health into chunks of 5,120 characters. If two entities are present on either side of a split that are related, the model will not be able to detect the relation. To prevent potential relations from being undetected, consider splitting your text into documents of 5,120 characters or less, consisting only of full sentences.
99+
98100
### Rate limits
99101

100102
Your rate limit will vary with your [pricing tier](https://aka.ms/unifiedLanguagePricing). These limits are the same for both versions of the API. These rate limits don't apply to the Text Analytics for health container, which does not have a set rate limit.

articles/cognitive-services/language-service/whats-new.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: overview
11-
ms.date: 11/16/2021
11+
ms.date: 11/18/2021
1212
ms.author: aahi
1313
ms.custom: ignite-fall-2021
1414
---
@@ -19,6 +19,8 @@ Azure Cognitive Service for Language is updated on an ongoing basis. To stay up-
1919

2020
## November 2021
2121

22+
* Based on ongoing customer feedback, we have increased the character limit per document for Text Analytics for health from 5,120 to 30,720.
23+
2224
* Azure Cognitive Service for Language release, with support for:
2325
* [Question Answering (now Generally Available)](question-answering/overview.md)
2426
* [Sentiment Analysis and opinion mining](sentiment-opinion-mining/overview.md)

0 commit comments

Comments
 (0)