Class BatchLanguageTranslationDetails
The documents details for translation call.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class BatchLanguageTranslationDetails
Properties
Alias
Declaration
[JsonProperty(PropertyName = "alias")]
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
string | Unique name to identify an endpoint to be used for inferencing |
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that calls the API, inference will be served from pre trained model |
Documents
Declaration
[Required(ErrorMessage = "Documents is required.")]
[JsonProperty(PropertyName = "documents")]
public List<TextDocument> Documents { get; set; }
Property Value
Type | Description |
---|---|
List<TextDocument> | List of documents for translation. |
Remarks
Required
EndpointId
Declaration
[JsonProperty(PropertyName = "endpointId")]
public string EndpointId { get; set; }
Property Value
Type | Description |
---|---|
string | The endpoint that has to be used for inferencing. |
NoTranslate
Declaration
[JsonProperty(PropertyName = "noTranslate")]
public List<string> NoTranslate { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of words not to be translated |
TargetLanguageCode
Declaration
[JsonProperty(PropertyName = "targetLanguageCode")]
public string TargetLanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string | Language code supported Arabic - ar Brazilian Portuguese - pt-BR Canadian French - fr-CA Croatian - hr Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr German - de Greek - el Hebrew - he Hungarian - hu Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Portuguese - pt Romanian - ro Russian - ru Simplified Chinese - zh-CN Slovak - sk Slovenian - sl Spanish - es Swedish - sv Thai - th Traditional Chinese - zh-TW Turkish - tr Vietnamese - vi |