Partilhar via


TextTranslationTranslateOptions.AllowFallback Property

Definition

Specifies that the service is allowed to fall back to a general system when a custom system doesn't exist. Possible values are: true (default) or false.

AllowFallback=false specifies that the translation should only use systems trained for the category specified by the request. If a translation for language X to language Y requires chaining through a pivot language E, then all the systems in the chain (X → E and E → Y) will need to be custom and have the same category. If no system is found with the specific category, the request will return a 400 status code. AllowFallback=true specifies that the service is allowed to fall back to a general system when a custom system doesn't exist.

public bool? AllowFallback { get; set; }
member this.AllowFallback : Nullable<bool> with get, set
Public Property AllowFallback As Nullable(Of Boolean)

Property Value

Applies to