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).
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
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"languages":[{"code":"officia culpa","name":"elit Excepteur","score":0.011729009481185049},{"code":"laborum","name":"ullamco anim in","score":0.8421870897579669}]}