Skip to content

Add allowFallback parameter to RequestParameter.cs class #15

Description

@sbohmig

Please add "bool AllowFallback" to RequestParameter.cs.

Rationale:
The API documentation permits to specify the allowFallback boolean parameter:
https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate

Currently, since not specified, the default of true is taken. This is problematic when using custom models and users want to avoid fallbacks that lead to invalid translations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions