Languages
decision-machine-1 reads non-English text, but you must write the labels, statements and descriptions in English.
decision-machine-1 has no language gate. Every capability accepts text in any language and answers with the same fields. The accuracy you get depends on two separate things: the language of the input text, and the language of the instructions you send with it.
Instructions mean the parts you write yourself: labels, label descriptions, scale levels, statements,
when_true and when_false hints, questions, schema field descriptions and entity type descriptions.
Keep the text in its original language. Write every label, hint and description in English. Every probe below follows that rule, except one. That one probe measures what a translated label set costs you.
What each capability does with other languages
The extractor returns spans copied from your text, so the answers come back in the source language. The classifier returns your own label strings, so the output language is whatever you sent as labels.
Measured: seven languages, one intent
We sent the same billing complaint in seven languages, against the same three English label descriptions.
classify returned billing every time.
All seven are correct. Treat this as a smoke test, not a benchmark. Run your own golden set before you trust a language in production.
English descriptions beat translated ones
The same French sentence, the same three labels, twice. The first call sends English descriptions. The second sends French labels and French descriptions.
The English descriptions above return:
The French set facturation, technique and commercial, with French descriptions, returns:
Both calls pick the right label. The English version is more certain on both numbers: probability 0.998 against 0.983, and confidence 0.988 against 0.919. A translated label set costs you headroom on your thresholds. Map the English label back to your display language in your own code.
Your own wording changes these numbers. Treat the gap as a reason to measure, not as a fixed penalty.
Extraction keeps the source language
extract fills an English schema from German text and returns the German spans untouched. The input is
"RECHNUNG Nr. 2291\nKunde: Hoffmann GmbH\nGesamtbetrag: 3.480,00 EUR\nFällig am: 12.05.2026".
entities behaves the same way. The offsets stay correct across accented characters. The input is
"Contactez Marie Dupont de la Société Générale à Paris.".
answer returns the span in the source language, with offsets into your original string. The input is
"Votre commande est expédiée. La livraison est prévue le 3 avril.".
Normalise dates, amounts and separators yourself. The model copies 3.480,00 EUR and 12.05.2026 exactly as
written. It does not convert formats.
Where confidence drops
Graded judgments are the weakest case. An angry Japanese complaint on the scale
["Calm","Annoyed","Angry","Furious"] returns a split verdict:
The model splits its mass evenly across the top three levels. The printed scores tie because the API rounds to
three decimals, so level can land on any of the three. Read score and confidence here instead. The score of 2 is defensible. A confidence of 0.208 is a case for
review, not for an automatic action. Use rate on non-English text with a confidence floor, and
route the uncertain cases to a person.
Do not assume a threshold tuned on English transfers to another language. Probabilities shift per language. Tune one threshold per language, or set a single conservative floor across all of them.
Checklist for non-English input
- Send the text unchanged. Do not translate it first.
- Write labels, levels, statements, hints and field descriptions in English.
- Use descriptive label text, as on writing good statements and labels.
- Measure the language you actually receive with 50 real examples.
- Set the threshold from that measurement, not from your English numbers.
Next
- Tuning thresholds — turn a per-language golden set into a number you can act on.
- Writing good statements and labels — the label text carries the meaning.
- PII detection — entities with described types across languages.