Actions3
- Text Actions
- Language Actions
Text → Detect Language
AI-generatedSummary
Detect the language of a given text using Yandex Cloud Translate's language detection service.
Inputs
- Folder ID — Folder ID to use. Defaults to the folder ID from credentials. Required if not set in credentials.
- Text (required) — Text to detect language for.
- Language Hints — Comma-separated list of language codes to prioritize (e.g., en,ru,es).
Output shape
a list of JSON objects, each containing the detected language code for the input text and the original text processed, paired one-to-one with each input item
Each output item includes a 'success' flag, the detected 'languageCode', and the original 'text'. Errors return a 'success' of false and an 'error' message. Supports processing multiple input items independently with optional continueOnFail behavior.