Skip to content

Commit 6b71798

Browse files
authored
Merge pull request #98005 from einatgruda/einat-updatesta4h
Einat updatesta4h
2 parents cedd343 + edc2d05 commit 6b71798

File tree

3 files changed

+85
-22
lines changed

3 files changed

+85
-22
lines changed

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

Lines changed: 8 additions & 3 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: how-to
11-
ms.date: 03/01/2022
11+
ms.date: 09/05/2022
1212
ms.author: aahi
1313
ms.custom: language-service-health, ignite-fall-2021
1414
---
@@ -38,15 +38,20 @@ By default, Text Analytics for health will use the latest available AI model on
3838

3939
| Supported Versions | latest version |
4040
|--|--|
41+
| `2022-03-01` | `2022-03-01` |
4142
| `2021-05-15` | `2021-05-15` |
4243

44+
4345
### Text Analytics for health container
4446

4547
The [Text Analytics for health container](use-containers.md) uses separate model versioning than the REST API and client libraries. Only one model version is available per container image.
4648

4749
| Endpoint | Container Image Tag | Model version |
4850
|---------------------------------|-----------------------------------------|---------------|
49-
| `/entities/health` | `3.0.016230002-onprem-amd64` (latest) | `2021-05-15` |
51+
| `/entities/health` | `3.0.59413252-onprem-amd64` (latest) | `2022-03-01` |
52+
| `/entities/health` | `3.0.59413252-latin-onprem-amd64` (latin) | `2022-08-15-preview` |
53+
| `/entities/health` | `3.0.59413252-semitic-onprem-amd64` (semitic) | `2022-08-15-preview` |
54+
| `/entities/health` | `3.0.016230002-onprem-amd64` | `2021-05-15` |
5055
| `/entities/health` | `3.0.015370001-onprem-amd64` | `2021-03-01` |
5156
| `/entities/health` | `1.1.013530001-amd64-preview` | `2020-09-03` |
5257
| `/entities/health` | `1.1.013150001-amd64-preview` | `2020-07-24` |
@@ -56,7 +61,7 @@ The [Text Analytics for health container](use-containers.md) uses separate model
5661

5762
### Input languages
5863

59-
Currently the Text Analytics for health only [supports](../language-support.md) the English language.
64+
Currently the Text Analytics for health hosted API only [supports](../language-support.md) the English language. Additional languages are currently in preview when deploying the API in a container, as detailed [under Text Analytics for health languages support](../language-support.md).
6065

6166
## Submitting data
6267

articles/cognitive-services/language-service/text-analytics-for-health/how-to/use-containers.md

Lines changed: 4 additions & 5 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: how-to
11-
ms.date: 04/20/2022
11+
ms.date: 09/05/2022
1212
ms.author: aahi
1313
ms.custom: language-service-health, ignite-fall-2021, devx-track-azurecli
1414
ms.devlang: azurecli
@@ -46,13 +46,12 @@ CPU core and memory correspond to the `--cpus` and `--memory` settings, which ar
4646

4747
## Get the container image with `docker pull`
4848

49-
Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pull/) command to download this container image from the Microsoft public container registry.
49+
Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pull/) command to download this container image from the Microsoft public container registry. You can find the featured tags on the [dockerhub page](https://hub.docker.com/_/microsoft-azure-cognitive-services-textanalytics-healthcare)
5050

5151
```
52-
docker pull mcr.microsoft.com/azure-cognitive-services/textanalytics/healthcare:latest
52+
docker pull mcr.microsoft.com/azure-cognitive-services/textanalytics/healthcare:<tag-name>
5353
```
5454

55-
5655
[!INCLUDE [Tip for using docker list](../../../../../includes/cognitive-services-containers-docker-list-tip.md)]
5756

5857
## Run the container with `docker run`
@@ -84,7 +83,7 @@ To run the container in your own environment after downloading the container ima
8483

8584
```bash
8685
docker run --rm -it -p 5000:5000 --cpus 6 --memory 12g \
87-
mcr.microsoft.com/azure-cognitive-services/textanalytics/healthcare:latest \
86+
mcr.microsoft.com/azure-cognitive-services/textanalytics/healthcare:<tag-name> \
8887
Eula=accept \
8988
rai_terms=accept \
9089
Billing={ENDPOINT_URI} \

articles/cognitive-services/language-service/text-analytics-for-health/language-support.md

Lines changed: 73 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,91 @@ 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: 9/5/2022
1212
ms.author: aahi
1313
ms.custom: language-service-health, ignite-fall-2021
1414
---
1515

1616
# Language support for Text Analytics for health
1717

18-
> [!NOTE]
19-
> * The container uses different model versions than the API endpoints and SDK.
20-
> * Languages are added as new model versions are released. The current [model versions](how-to/call-api.md#specify-the-text-analytics-for-health-model) for Text Analytics for health are:
21-
> * API and SDK: `2021-05-15`
22-
> * Container: `2021-03-01`
23-
2418
Use this article to learn which natural languages are supported by Text Analytics for health and its Docker container.
2519

26-
## REST API and client library
20+
## Hosted API Service
2721

28-
| Language | Language code | Starting with v3 model version: | Notes |
29-
|:---------|:-------------:|:-----------------------------------------:|:-----:|
30-
| English | `en` | API endpoint and client library: 2019-10-01 | |
22+
The hosted API service supports English language, model version 03-01-2022.
3123

3224
## Docker container
3325

34-
| Language | Language code | Starting with v3 model version: | Notes |
35-
|:---------|:-------------:|:-----------------------------------------:|:-----:|
36-
| English | `en` | Container: 2020-04-16 | |
26+
The docker container supports English language, model version 03-01-2022.
27+
Additional languages are also supported when using a docker container to deploy the API: Spanish, French, German Italian, Portuguese and Hebrew. This functionality is currently in preview, model version 2022-08-15-preview.
28+
Full details for deploying the service in a container can be found [here](../text-analytics-for-health/how-to/use-containers.md).
29+
30+
In order to download the new container images from the Microsoft public container registry, use the [docker pull](https://docs.docker.com/engine/reference/commandline/pull/) command, as follows :
31+
32+
For English, Spanish, Italian, French, German and Portuguese:
33+
34+
```
35+
docker pull mcr.microsoft.com/azure-cognitive-services/textanalytics/latin
36+
```
37+
38+
For Hebrew:
39+
40+
```
41+
docker pull mcr.microsoft.com/azure-cognitive-services/textanalytics/semitic
42+
```
43+
44+
45+
When structuring the API request, the relevant language tags must be added for these languages:
46+
47+
```
48+
English – “en”
49+
Spanish – “es”
50+
French - “fr”
51+
German – “de”
52+
Italian – “it”
53+
Portuguese – “pt”
54+
Hebrew – “he”
55+
```
56+
57+
The following json is an example of a JSON file attached to the Language request's POST body, for a Spanish document:
58+
59+
```json
60+
json
61+
62+
{
63+
"analysisInput": {
64+
"documents": [
65+
{
66+
"text": "El médico prescrió 200 mg de ibuprofeno.",
67+
"language": "es",
68+
"id": "1"
69+
}
70+
]
71+
},
72+
"tasks": [
73+
{
74+
"taskName": "analyze 1",
75+
"kind": "Healthcare",
76+
"parameters": {
77+
"fhirVersion": "4.0.1"
78+
}
79+
}
80+
]
81+
}
82+
```
83+
## Details of the supported model versions for each language:
84+
85+
86+
| Language code | model version: | Featured Tag | Specific Tag |
87+
|:--------------------|:-------------:|:-------------------:|:------------------:|
88+
| en | 2022-03-01 | latest | 3.0.59413252-onprem-amd64 |
89+
| en,es,it,fr,de,pt | 2022-08-15-preview | latin | 3.0.59413252-latin-onprem-amd64 |
90+
| he | 2022-08-15-preview | semitic | 3.0.59413252-semitic-onprem-amd64 |
91+
92+
93+
94+
95+
3796

3897
## See also
3998

0 commit comments

Comments
 (0)