Language Identification
🤖 AI Drafted (Not reviewed)
Detect language(s) in a document and output aggregate metadata
|
|
| Tool id |
language_identification |
| Category |
llm |
| Uses a language model |
no |
| Needs a generative model |
no |
| Runs over many items |
yes |
| Item handling |
batch |
| Structured output |
yes |
| Human-verified |
not yet |
What it reads
| Port |
Type |
Required |
What it is |
Text (text) |
text |
yes |
Input text to detect language for |
Context (context) |
any |
no |
Previous text/transcription |
Metadata (metadata) |
json |
no |
Existing metadata |
Documents (documents) |
json |
no |
Document metadata |
What it emits
| Port |
Type |
Required |
What it is |
Text (text) |
text |
— |
Raw text response |
Value (value) |
any |
— |
Parsed value |
Texts (texts) |
array |
— |
Per-item texts |
Values (values) |
array |
— |
Per-item values |
Results (results) |
json |
— |
Full results |
Records (records) |
array |
— |
Per-document text records [{doc_id, text}, …]. |
Artifacts (artifacts) |
json |
— |
Artifact IDs |
Options
| Option |
Type |
Default |
What it does |
chunk_size_chars |
integer |
1200 |
Approximate chunk size for per-section language detection. |
max_languages |
integer |
5 |
Maximum number of languages to return. |
The prompt it sends
This tool does not send a prompt — it does its work in code.