You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|Feature no longer supported.Use the [Azure AI Language detection feature](../../../language-service/language-detection/overview.md)|
56
-
|Feature no longer supported. Use sentence delimiters function or a Natural Language Processing (NLP) library for your programming language.|[BreakSentence](../reference/v3/break-sentence.md)|
57
-
|Feature no longer supported|[Dictionary Lookup](../reference/v3/dictionary-lookup.md)|
58
-
|Feature no longer supported|[Dictionary Examples](../reference/v3/dictionary-examples.md)|
55
+
[BreakSentence](../reference/v3/break-sentence.md)|Feature no longer supported.<br>Use sentence delimiters function or a Natural Language Processing (NLP) library supported for your programming language.|
56
+
[Dictionary Lookup](../reference/v3/dictionary-lookup.md)|Feature no longer supported|
57
+
|[Dictionary Examples](../reference/v3/dictionary-examples.md)|Feature no longer supported|
Copy file name to clipboardExpand all lines: articles/ai-services/translator/text-translation/reference/v4/translate-api.md
+7-12Lines changed: 7 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,19 +56,14 @@ Request parameters passed with the request are as follows:
56
56
|**language**| string | False | Specifies the language code for the `source` text. If not specified, the system autodetects the language of the source text. Accepted values are list of language code supported by the specified model. |
57
57
|**script**| string | False | Specifies the script of the source text. |
58
58
59
-
#### Targets
60
-
61
-
| Parameter | Type | Required | Description |
62
-
| --- | --- | --- | --- |
63
-
|**`targets`**| array | True | User-specified values for the translated (`target`) text. |
64
-
65
-
#### Optional parameters (targets array)
59
+
#### Targets array (user-specificed values for the translaated text)
66
60
67
61
| Parameter | Type | Required? | Description |
68
62
| --- | --- | --- | --- |
63
+
|**targets.language**| string | True |The language code for the translated (`target`) text *specified in the `targets` array*. Accepted values are [supported language](../../../language-support.md) codes for the translation operation.|
69
64
|**targets.script**| string | False | Specify the script of the translated text. |
70
65
|**targets.deploymentName**| string | False | Default is `general`, which uses `NMT` system. `your-model-name-gpt-4o-mini` is an example deployment name for the GPT-4o-mini model. `gpt-4o` uses GPT-4o model.<br> `<custom model id>` uses the custom `NMT` model tuned by customer.<br> |
71
-
|**targets.allowFallback**| string | False |Indicates that if the desired model does not support a specific source and target language pair, the service may default to a general system as an alternative. This action ensures that translations can still be provided even when the preferred model is unavailable. Default is `true`. If `false` system returns an error if language pair isn't supported. |
66
+
|**targets.allowFallback**| string | False |If the desired model does not support a particular pair of source and target languages, an alternative approach may be employed. In such cases, the service may default to utilizing a general system as a substitute. This action ensures that translations can still be provided even when the preferred model is unavailable. Default is `true`. If `false` system returns an error if language pair isn't supported. |
72
67
|**targets.tone**| string | False | Desired tone of target translation. Accepted values are `formal`, `informal`, or `neutral`. |
73
68
|**targets.gender** (For more information, *see*[Gender-specific translations](#gender-specific-translations))| string | False | Desired gender of target translation. Accepted values are `male`, `female`, or `neutral`.|
74
69
|**targets.adaptiveDatasetId**| string | False | Reference dataset ID having sentence pair to generate adaptive customized translation |
@@ -260,7 +255,7 @@ Here, users request specific `GPT` models for deployment.
0 commit comments