Add "Formality" parameter to Google NL API

110 Views Asked by At

Is it possible to force the delivery of a more or less formal response via parameter for Google NL or the AutoML models? Other MTEs have this functionality but we've not been able to find anything similar while working with the REST API.

1

There are 1 best solutions below

0
On

No, the Google Translate API, like most machine translation APIs, does not support parameters for formality or gender.

You could try to achieve it with an AutoML custom model or with the glossary feature.