Skip to content

Commit 62341c3

Browse files
committed
updating character limit for TA4H
1 parent cf725e0 commit 62341c3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Azure Cognitive Service for Language is updated on an ongoing basis. To stay up-
3838
> [!NOTE]
3939
> To use this [model version](sentiment-opinion-mining/how-to/call-api.md#specify-the-sentiment-analysis-model), you must specify it in your API calls, using the model version parameter.
4040
41+
* The character limit for Text Analytics for health has been increased from 5,120 to 30,720.
42+
4143
## Next steps
4244

4345
* [What is Azure Cognitive Service for Language?](overview.md)

0 commit comments

Comments
 (0)