Skip to content

Commit 6ff26f9

Browse files
authored
Update call-api.md
1 parent 0f19903 commit 6ff26f9

File tree

1 file changed

+17
-5
lines changed
  • articles/cognitive-services/language-service/text-analytics-for-health/how-to

1 file changed

+17
-5
lines changed

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

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,26 @@ There are two ways to call the service:
3535

3636
## Specify the Text Analytics for health model
3737

38-
By default, Text Analytics for health will use the latest available AI model on your text. You can also configure your API requests to use a specific model version. The model you specify will be used to perform operations provided by the Text Analytics for health. Extraction of social determinants of health entities is supported with the new preview model version "2023-01-01-preview".
38+
By default, Text Analytics for health will use the latest generally available AI model ("2023-04-01") on your text. You can also configure your API requests to use a specific model version. The model you specify will be used to perform operations provided by the Text Analytics for health. Extraction of social determinants of health entities along with their assertions and relationships (**only in English**) is supported with the latest preview model version "2023-04-15-preview".
3939

40-
| Supported Versions | latest version |
40+
| Supported Versions | Status |
4141
|--|--|
42-
| `2023-01-01-preview` | `2023-01-01-preview` |
43-
| `2022-08-15-preview` | `2022-08-15-preview` |
44-
| `2022-03-01` | `2022-03-01` |
42+
| `2023-04-15-preview` | Preview |
43+
| `2023-04-01` | Generally available |
44+
| `2023-01-01-preview` | Preview |
45+
| `2022-08-15-preview` | Preview |
46+
| `2022-03-01` | Generally available |
4547

48+
## Specify the Text Analytics for health API version
49+
50+
When making a Text Analytics for health API call, you must specify an API version. The latest generally available API version is "2023-04-01" which supports relationship confidence scores in the results. The latest preview API version is "2023-04-15-preview", offering the latest feature which is support for [temporal assertions](../concepts/assertion-detection.md).
51+
52+
| Supported Versions | Status |
53+
|--|--|
54+
| `2023-04-15-preview`| Preview |
55+
| `2023-04-01`| Generally available |
56+
| `2022-10-01-preview` | Preview |
57+
| `2022-05-01` | Generally available |
4658

4759

4860
### Text Analytics for health container

0 commit comments

Comments
 (0)