We have observed that there is a mismatch in request and response.
In Detect language, Unable to detect multiple language still its response type Location is of array
"languages": [
{
"languageCode": "hi",
"confidence": 0.576136
}
]
Why languages is type of array?
same thing observe in Translate Document request we can pass single content whereas in response we get byteStreamOutputs in array format
Why we are keep keeping O/P is in array format?
These were some observation we found.