Detect dominant language over pre-deployed model.

POST {{baseUrl}}/actions/detectDominantLanguage

The API returns the detected language and a related confidence score (between 0 and 1).

List of supported languages.

Limitations: - A record may be up to 1000 characters long.

Request Body

{"text"=>"A Red Bull Racing Honda, equipe quatro vezes campeã mundial de Fórmula 1, escolheu o Oracle Cloud Infrastructure (OCI) como seu parceiro de infraestrutura."}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"languages":[{"code":"officia culpa","name":"elit Excepteur","score":0.011729009481185049},{"code":"laborum","name":"ullamco anim in","score":0.8421870897579669}]}