Detect language
detectIdentify the language of text or up to 20 strings via a self-hosted LibreTranslate instance, returning confidence scores for each detection.
Instructions
Detect the language of one or more strings using a self-hosted LibreTranslate instance (POST /detect). Returns one detection per input string, in input order, with the confidence LibreTranslate reported when it provided one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | A single string, or an array of up to 20 strings, to detect. |