|
| 1 | +--- |
| 2 | +title: Custom Text Analytics for health service limits |
| 3 | +titleSuffix: Azure Cognitive Services |
| 4 | +description: Learn about the data and service limits when using Custom Text Analytics for health. |
| 5 | +services: cognitive-services |
| 6 | +author: aahill |
| 7 | +manager: nitinme |
| 8 | +ms.service: cognitive-services |
| 9 | +ms.subservice: language-service |
| 10 | +ms.topic: conceptual |
| 11 | +ms.date: 05/06/2022 |
| 12 | +ms.author: aahi |
| 13 | +ms.custom: language-service-custom-ta4h, references_regions |
| 14 | +--- |
| 15 | + |
| 16 | +# Custom Text Analytics for health service limits |
| 17 | + |
| 18 | +Use this article to learn about the data and service limits when using custom Text Analytics for health. |
| 19 | + |
| 20 | +## Language resource limits |
| 21 | + |
| 22 | +* Your Language resource has to be created in one of the [supported regions](#regional-availability). |
| 23 | + |
| 24 | +* Your resource must be one of the supported pricing tiers: |
| 25 | + |
| 26 | + |Tier|Description|Limit| |
| 27 | + |--|--|--| |
| 28 | + |S |Paid tier|You can have unlimited Language S tier resources per subscription. | |
| 29 | + |
| 30 | + |
| 31 | +* You can only connect one storage account per resource. This process is irreversible. If you connect a storage account to your resource, you cannot unlink it later. Learn more about [connecting a storage account](../how-to/create-project.md#create-language-resource-and-connect-storage-account) |
| 32 | + |
| 33 | +* You can have up to 500 projects per resource. |
| 34 | + |
| 35 | +* Project names have to be unique within the same resource across all custom features. |
| 36 | + |
| 37 | +## Regional availability |
| 38 | + |
| 39 | +Custom Text Analytics for health is only available in some Azure regions since it is a preview service. Some regions may be available for **both authoring and prediction**, while other regions may be for **prediction only**. Language resources in authoring regions allow you to create, edit, train, and deploy your projects. Language resources in prediction regions allow you to get predictions from a deployment. |
| 40 | + |
| 41 | +| Region | Authoring | Prediction | |
| 42 | +|--------------------|-----------|-------------| |
| 43 | +| East US | ✓ | ✓ | |
| 44 | +| UK South | ✓ | ✓ | |
| 45 | +| North Europe | ✓ | ✓ | |
| 46 | + |
| 47 | +## API limits |
| 48 | + |
| 49 | +|Item|Request type| Maximum limit| |
| 50 | +|:-|:-|:-| |
| 51 | +|Authoring API|POST|10 per minute| |
| 52 | +|Authoring API|GET|100 per minute| |
| 53 | +|Prediction API|GET/POST|1,000 per minute| |
| 54 | +|Document size|--|125,000 characters. You can send up to 20 documents as long as they collectively do not exceed 125,000 characters| |
| 55 | + |
| 56 | +> [!TIP] |
| 57 | +> If you need to send larger files than the limit allows, you can break the text into smaller chunks of text before sending them to the API. You use can the [chunk command from CLUtils](https://github.com/microsoft/CognitiveServicesLanguageUtilities/blob/main/CustomTextAnalytics.CLUtils/Solution/CogSLanguageUtilities.ViewLayer.CliCommands/Commands/ChunkCommand/README.md) for this process. |
| 58 | +
|
| 59 | +## Quota limits |
| 60 | + |
| 61 | +|Pricing tier |Item |Limit | |
| 62 | +| --- | --- | ---| |
| 63 | +|S|Training time| Unlimited, free | |
| 64 | +|S|Prediction Calls| 5,000 text records for free per language resource| |
| 65 | + |
| 66 | +## Document limits |
| 67 | + |
| 68 | +* You can only use `.txt`. files. If your data is in another format, you can use the [CLUtils parse command](https://github.com/microsoft/CognitiveServicesLanguageUtilities/blob/main/CustomTextAnalytics.CLUtils/Solution/CogSLanguageUtilities.ViewLayer.CliCommands/Commands/ParseCommand/README.md) to open your document and extract the text. |
| 69 | + |
| 70 | +* All files uploaded in your container must contain data. Empty files are not allowed for training. |
| 71 | + |
| 72 | +* All files should be available at the root of your container. |
| 73 | + |
| 74 | +## Data limits |
| 75 | + |
| 76 | +The following limits are observed for authoring. |
| 77 | + |
| 78 | +|Item|Lower Limit| Upper Limit | |
| 79 | +| --- | --- | --- | |
| 80 | +|Documents count | 10 | 100,000 | |
| 81 | +|Document length in characters | 1 | 128,000 characters; approximately 28,000 words or 56 pages. | |
| 82 | +|Count of entity types | 1 | 200 | |
| 83 | +|Entity length in characters | 1 | 500 | |
| 84 | +|Count of trained models per project| 0 | 10 | |
| 85 | +|Count of deployments per project| 0 | 10 | |
| 86 | + |
| 87 | +## Naming limits |
| 88 | + |
| 89 | +| Item | Limits | |
| 90 | +|--|--| |
| 91 | +| Project name | You can only use letters `(a-z, A-Z)`, and numbers `(0-9)` , symbols `_ . -`, with no spaces. Maximum allowed length is 50 characters. | |
| 92 | +| Model name | You can only use letters `(a-z, A-Z)`, numbers `(0-9)` and symbols `_ . -`. Maximum allowed length is 50 characters. | |
| 93 | +| Deployment name | You can only use letters `(a-z, A-Z)`, numbers `(0-9)` and symbols `_ . -`. Maximum allowed length is 50 characters. | |
| 94 | +| Entity name| You can only use letters `(a-z, A-Z)`, numbers `(0-9)` and all symbols except ":", `$ & % * ( ) + ~ # / ?`. Maximum allowed length is 50 characters. See the supported [data format](../concepts/data-formats.md#entity-naming-rules) for more information on entity names when importing a labels file. | |
| 95 | +| Document name | You can only use letters `(a-z, A-Z)`, and numbers `(0-9)` with no spaces. | |
| 96 | + |
| 97 | + |
| 98 | +## Next steps |
| 99 | + |
| 100 | +* [Custom text analytics for health overview](../overview.md) |
0 commit comments