Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Observation related to Reponses

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.

0 2 153
2 REPLIES 2