Hi folks,
When I provide
expectedInputLanguages field with a value any other than ['en'], I get the response of "The requested language options are not supported" error on both
availability and
create methods of the API.
Moreover, the model correctly proofreads the text in multiple languages I provide if I don't set the
expectedInputLanguages config at all with the base capabilities.
I tested this behavior on
nl,
es,
tr languages so far and all of them resulted with the same behavior - error when the config is set, properly proofread when the config is unset.
I was leaning towards detecting the input language with the Language Detection API, and providing the detected language code to the Proofreader API interface. However, I can't build multillinguality in my app by using this approach, so I ended up removing the
expectedInputLanguages config altogether.
Is this the expected behavior for the Proofreader API? What am I missing when I do not set the
expectedInputLanguages config? Do we have any supporting material, such as fine-tunings or safety-checking models set for English or any other languages as it's hinted on
the spec?
Best regards,
Önder