Skip to content

Commit f744457

Browse files
authored
Merge pull request #522 from MicrosoftDocs/main
9/27 11:00 AM IST Publish
2 parents 552467e + 78f1744 commit f744457

File tree

7 files changed

+127
-70
lines changed

7 files changed

+127
-70
lines changed

articles/ai-services/document-intelligence/quickstarts/includes/rest-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 09/09/2024
1010
ms.author: lajanuar
1111
---
1212

13-
<!-- markdownlint-disable MD036 -->
13+
<!-- markdownlint-disable MD036 -->
1414

1515
:::moniker range="doc-intel-4.0.0"
1616
| [Document Intelligence REST API](/rest/api/aiservices/operation-groups?view=rest-aiservices-v4.0%20(2024-07-31-preview)&preserve-view=true) | [Supported Azure SDKS](../../sdk-overview-v4-0.md)
@@ -109,7 +109,7 @@ Before you run the cURL command, make the following changes to the [post request
109109
:::moniker range="doc-intel-4.0.0"
110110

111111
```bash
112-
curl -v -i POST "{endpoint}/documentintelligence/documentModels/{modelId}:analyze?api-version=2024-02-29-preview" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: {key}" --data-ascii "{'urlSource': '{your-document-url}'}"
112+
curl -v -i POST "{endpoint}/documentintelligence/documentModels/{modelId}:analyze?api-version=2024-07-31-preview" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: {key}" --data-ascii "{'urlSource': '{your-document-url}'}"
113113
```
114114

115115
:::moniker-end
@@ -140,7 +140,7 @@ You receive a `202 (Success)` response that includes a read-only **Operation-Loc
140140

141141
:::moniker range="doc-intel-4.0.0"
142142

143-
After you call the [`Analyze document`](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2024-02-29-preview&preserve-view=true&branch=docintelligence&tabs=HTTP) API, call the [**Get analyze result**](/rest/api/aiservices/document-models/get-analyze-result?view=rest-aiservices-2024-02-29-preview&preserve-view=true&branch=docintelligence&tabs=HTTP) API to get the status of the operation and the extracted data. Before you run the command, make these changes:
143+
After you call the [`Analyze document`](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-v4.0%20(2024-07-31-preview)&preserve-view=true&tabs=HTTP) API, call the [**Get analyze result**](/rest/api/aiservices/document-models/get-analyze-result?view=rest-aiservices-v4.0%20(2024-07-31-preview)&preserve-view=true&tabs=HTTP) API to get the status of the operation and the extracted data. Before you run the command, make these changes:
144144
:::moniker-end
145145

146146
:::moniker range="doc-intel-3.1.0"
@@ -165,7 +165,7 @@ After you call the [`Analyze document`](/rest/api/aiservices/document-models/ana
165165
:::moniker range="doc-intel-4.0.0"
166166

167167
```bash
168-
curl -v -X GET "{endpoint}/documentintelligence/documentModels/{modelId}/analyzeResults/{resultId}?api-version=2024-02-29-preview" -H "Ocp-Apim-Subscription-Key: {key}"
168+
curl -v -X GET "{endpoint}/documentintelligence/documentModels/{modelId}/analyzeResults/{resultId}?api-version=2024-07-31-preview" -H "Ocp-Apim-Subscription-Key: {key}"
169169
```
170170

171171
:::moniker-end
@@ -202,7 +202,7 @@ You receive a `200 (Success)` response with JSON output. The first field, `"stat
202202
"createdDateTime": "2024-03-25T19:31:37Z",
203203
"lastUpdatedDateTime": "2024-03-25T19:31:43Z",
204204
"analyzeResult": {
205-
"apiVersion": "2024-02-29-preview",
205+
"apiVersion": "2024-07-31-preview",
206206
"modelId": "prebuilt-invoice",
207207
"stringIndexType": "textElements"...
208208
..."pages": [

articles/ai-services/translator/document-translation/reference/start-batch-translation.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: lajanuar
88
author: laujan
99
ms.service: azure-ai-translator
1010
ms.topic: reference
11-
ms.date: 08/23/2024
11+
ms.date: 09/26/2024
1212
---
1313

1414
# Start batch translation
@@ -89,9 +89,6 @@ Request headers are:
8989
"storageType": "Folder"
9090
}
9191
],
92-
"options": {
93-
"experimental": true
94-
}
9592
}
9693

9794
```

articles/ai-services/translator/quickstart-text-sdk.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ zone_pivot_groups: programming-languages-set-translator-sdk
2121
<!-- markdownlint-disable MD036 -->
2222
<!-- markdownlint-disable MD049 -->
2323

24-
# Quickstart: Azure AI Translator client libraries (preview)
25-
26-
> [!IMPORTANT]
27-
>
28-
> * The Translator text SDKs are currently available in public preview. Features, approaches and processes may change, prior to General Availability (GA), based on user feedback.
24+
# Quickstart: Azure AI Translator text client libraries
2925

3026
In this quickstart, get started using the Translator service to [translate text](reference/v3-0-translate.md) using a programming language of your choice. For this project, we recommend using the free pricing tier (F0), while you're learning the technology, and later upgrading to a paid tier for production.
3127

articles/ai-services/translator/reference/v3-0-translate.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88

99
ms.service: azure-ai-translator
1010
ms.topic: reference
11-
ms.date: 06/06/2024
11+
ms.date: 09/26/2024
1212
ms.author: lajanuar
1313
---
1414

@@ -266,11 +266,14 @@ Normally, the Translator service retains profanity that is present in the source
266266
If you want to avoid getting profanity in the translation, regardless of the presence of profanity in the source text, you can use the profanity filtering option. The option allows you to choose whether you want to see profanity deleted, marked with appropriate tags (giving you the option to add your own post-processing), or with no action taken. The accepted values of `ProfanityAction` are `Deleted`, `Marked`, and `NoAction` (default).
267267

268268

269-
| ProfanityAction | Action |
270-
| --- | --- |
271-
| `NoAction` | NoAction is the default behavior. Profanity passes from source to target. <br><br>**Example Source (Japanese)**: 彼はジャッカスです。 <br>**Example Translation (English)**: H&#8203;e's a jack---. |
272-
| `Deleted` | Profane words are removed from the output without replacement. <br> <br>**Example Source (Japanese)**: 彼はジャッカスです。 <br>**Example Translation (English)**: H&#8203;e's a** |
273-
| `Marked` | A marker replaces the marked word in the output. The marker depends on the `ProfanityMarker` parameter. <br> <br>For `ProfanityMarker=Asterisk`, profane words are replaced with `***`: <br>**Example Source (Japanese)**: 彼はジャッカスです。 <br>**Example Translation (English)**: H&#8203;e's a \\*\\*\\*. <br> <br>For `ProfanityMarker=Tag`, profane words are surrounded by XML tags &lt;profanity&gt; and &lt;/profanity&gt;: <br>**Example Source (Japanese)**: 彼はジャッカスです。 <br>**Example Translation (English)**: H&#8203;e's a &lt;profanity&gt;jack---&lt;/profanity&gt;. |
269+
| Accepted ProfanityAction value | ProfanityMarker value | Action | Example: Source - Spanish| Example: Target - English|
270+
|:--|:--|:--|:--|:--|
271+
| NoAction| | Default. Same as not setting the option. Profanity passes from source to target. | `Que coche de` \<insert-profane-word> | What a \<insert-profane-word> car |
272+
| Marked | Asterisk | Asterisks replace profane words (default). | `Que coche de` \<insert-profane-word> | What a *** car |
273+
| Marked | Tag | Profane words are surrounded by XML tags \<profanity\>...\</profanity>. | `Que coche de` \<insert-profane-word> | What a \<profanity> \<insert-profane-word> \</profanity> car |
274+
| Deleted | | Profane words are removed from the output without replacement. | `Que coche de` \<insert-profane-word> | What a car |
275+
276+
In the above examples, **\<insert-profane-word>** is a placeholder for profane words.
274277

275278
For example:
276279

articles/ai-services/translator/text-sdk-overview.md

Lines changed: 68 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: azure-ai-translator
88
ms.custom: devx-track-python
99
ms.topic: conceptual
10-
ms.date: 07/08/2024
10+
ms.date: 09/26/2024
1111
ms.author: lajanuar
1212
recommendations: false
1313
---
@@ -17,11 +17,7 @@ recommendations: false
1717
<!-- markdownlint-disable MD001 -->
1818
<!-- markdownlint-disable MD051 -->
1919

20-
# Azure Text Translation SDK (preview)
21-
22-
> [!IMPORTANT]
23-
>
24-
> * The Translator text SDKs are currently available in public preview. Features, approaches and processes may change, prior to General Availability (GA), based on user feedback.
20+
# Azure Text Translation SDK
2521

2622
Azure Text Translation is a cloud-based REST API feature of the Azure AI Translator service. The Text Translation API enables quick and accurate source-to-target text translations in real time. The Text Translation software development kit (SDK) is a set of libraries and tools that enable you to easily integrate Text Translation REST API capabilities into your applications. Text Translation SDK is available across programming platforms in C#/.NET, Java, JavaScript, and Python.
2723

@@ -31,17 +27,79 @@ Text Translation SDK supports the programming languages and platforms:
3127

3228
| Language → SDK version | Package|Client library| Supported API version|
3329
|:----------------------:|:----------|:----------|:-------------|
34-
|[.NET/C# → 1.0.0-beta.1](https://azuresdkdocs.blob.core.windows.net/$web/dotnet/Azure.AI.Translation.Text/1.0.0-beta.1/index.html)|[NuGet](https://www.nuget.org/packages/Azure.AI.Translation.Text/1.0.0-beta.1)|[Azure SDK for .NET](/dotnet/api/overview/azure/ai.translation.text-readme?view=azure-dotnet-preview&preserve-view=true)|Translator v3.0|
35-
|[Java&#x2731; → 1.0.0-beta.1](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-ai-translation-text/1.0.0-beta.1/index.html)|[Maven repository](https://mvnrepository.com/artifact/com.azure/azure-ai-translation-text/1.0.0-beta.1)|[Azure SDK for Java](/java/api/overview/azure/ai-translation-text-readme?view=azure-java-preview&preserve-view=true)|Translator v3.0|
36-
|[JavaScript → 1.0.0-beta.1](https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-cognitiveservices-translatortext/1.0.0/index.html)|[npm](https://www.npmjs.com/package/@azure-rest/ai-translation-text/v/1.0.0-beta.1)|[Azure SDK for JavaScript](/javascript/api/overview/azure/text-translation?view=azure-node-preview&preserve-view=true) |Translator v3.0 |
37-
|**Python → 1.0.0b1**|[PyPi](https://pypi.org/project/azure-ai-translation-text/1.0.0b1/)|[Azure SDK for Python](/python/api/azure-ai-translation-text/azure.ai.translation.text?view=azure-python-preview&preserve-view=true) |Translator v3.0|
30+
|[.NET/C# → 1.0.0](https://azuresdkdocs.blob.core.windows.net/$web/dotnet/Azure.AI.Translation.Text/1.0.0/index.html)|[NuGet](https://www.nuget.org/packages/Azure.AI.Translation.Text/1.0.0)|[Azure SDK for .NET](/dotnet/api/overview/azure/ai.translation.text-readme?view=azure-dotnet&preserve-view=true)|Translator v3.0|
31+
|[Java&#x2731; → 1.0.0](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-ai-translation-text/1.0.0/index.html)|[Maven repository](https://mvnrepository.com/artifact/com.azure/azure-ai-translation-text/1.0.0)|[Azure SDK for Java](/java/api/overview/azure/ai-translation-text-readme?view=azure-java-stable&preserve-view=true)|Translator v3.0|
32+
|[JavaScript → 1.0.0](https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-cognitiveservices-translatortext/1.0.0/index.html)|[npm](https://www.npmjs.com/package/@azure-rest/ai-translation-text/v/1.0.0)|[Azure SDK for JavaScript](/javascript/api/overview/azure/text-translation?view=azure-node-preview&preserve-view=true) |Translator v3.0 |
33+
|[Python → 1.0.1](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-ai-translation-text/1.0.1/index.html)|[PyPi](https://pypi.org/project/azure-ai-translation-text/1.0.1/)|[Azure SDK for Python](/python/api/overview/azure/ai-translation-text-readme?view=azure-python&preserve-view=true) |Translator v3.0|
3834

3935
&#x2731; The Azure Text Translation SDK for Java is tested and supported on Windows, Linux, and macOS platforms. It isn't tested on other platforms and doesn't support Android deployments.
4036

4137
## Changelog and release history
4238

4339
This section provides a version-based description of Text Translation feature and capability releases, changes, updates, and enhancements.
4440

41+
#### Translator Text SDK May 2024 GA release
42+
43+
This release includes the following updates:
44+
45+
### [**C#**](#tab/csharp)
46+
47+
* **Version 1.0.0 (2024-05-21)**
48+
* **Targets Text Translation v3.0**
49+
* **GA version release**
50+
51+
[**Package (NuGet)**](https://www.nuget.org/packages/Azure.AI.Translation.Text/1.0.0)
52+
53+
[**Changelog/Release History**](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/translation/Azure.AI.Translation.Text/CHANGELOG.md#100-2024-05-21)
54+
55+
[**README**](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/translation/Azure.AI.Translation.Text#readme)
56+
57+
[**Samples**](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/translation/Azure.AI.Translation.Text/samples)
58+
59+
### [**Java**](#tab/java)
60+
61+
* **Version 1.0.0 (2024-05-21)**
62+
* **Targets Text Translation v3.0**
63+
* **GA version release**
64+
65+
[**Package (MVN)**](https://mvnrepository.com/artifact/com.azure/azure-ai-translation-text/1.0.0)
66+
67+
[**Changelog/Release History**](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/CHANGELOG.md#100-2024-05-21)
68+
69+
[**README**](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/translation/azure-ai-translation-text#readme)
70+
71+
[**Samples**](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/translation/azure-ai-translation-text#next-steps)
72+
73+
### [**JavaScript**](#tab/javascript)
74+
75+
* **Version 1.0.0 (2024-05-21)**
76+
* **Targets Text Translation v3.0**
77+
* **GA version release**
78+
79+
[**Package (npm)**](https://www.npmjs.com/package/@azure-rest/ai-translation-text/v/1.0.0)
80+
81+
[**Changelog/Release History**](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/translation/ai-translation-text-rest/CHANGELOG.md#100-2024-05-21)
82+
83+
[**README**](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/translation/ai-translation-text-rest/README.md)
84+
85+
[**Samples**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/translation/ai-translation-text-rest/samples/v1-beta)
86+
87+
### [**Python**](#tab/python)
88+
89+
* **Version 1.0.0 (2024-05-23)**
90+
* **Targets Text Translation v3.0**
91+
* **GA version release**
92+
93+
[**Package (PyPi)**](https://pypi.org/project/azure-ai-translation-text/1.0.1/)
94+
95+
[**Changelog/Release History**](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/translation/azure-ai-translation-text/CHANGELOG.md#100-2024-05-23)
96+
97+
[**README**](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/translation/azure-ai-translation-text/README.md)
98+
99+
[**Samples**](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/translation/azure-ai-translation-text/samples)
100+
101+
---
102+
45103
#### Translator Text SDK April 2023 preview release
46104

47105
This release includes the following updates:

articles/ai-services/translator/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ items:
3030
- name: What is Text Translation?
3131
displayName: features,develop,development,free
3232
href: text-translation-overview.md
33-
- name: 🆕 Text Translation SDK overview (preview)
33+
- name: 🆕 Text Translation SDK overview
3434
displayName: get started,sdk,keys,endpoint
3535
href: text-sdk-overview.md
3636
- name: Text Translation REST API guide
3737
href: reference/rest-api-guide.md
3838
- name: Quickstarts
3939
items:
40-
- name: Translator Text SDK (preview)
40+
- name: Translator Text SDK
4141
displayName: get started,sdk,keys,endpoint,headers,c#,go,java,javascript,python,setup
4242
href: quickstart-text-sdk.md
4343
- name: Translator Text REST APIs

0 commit comments

Comments
 (0)