Kreatix Instruct Constraints
31,500 chats in English, Finnish, Norwegian, Swedish and Danish where the user sets rules a program can check,
and the reply follows every one of them. Each reply is re-checked by the included checker before it is written.
The rules:
| Rule | Example request |
|---|---|
| only the answer | "… Answer with only the number, nothing else." |
| word limit | "… Vastaa enintään 14 sanalla." |
| start / end with an exact phrase | "… Avslutt svaret ditt med nøyaktig frasen "Takk for spørsmålet."" |
| lowercase / capital letters | "… Skriv hela svaret med versaler." |
| no commas | "… Do not use any commas in your answer." |
| in quotation marks | "… Sæt hele dit svar i dobbelte anførselstegn." |
| JSON with given keys | "… Reply only with a JSON object with the keys "entity" and "answer"." |
| answer in another language | "… Svara på finska." |
| exactly N bullet points | "Give exactly 4 facts about Iceland as a bulleted list …" |
| sorted numbered list | "Rank these lakes from largest to smallest area …" |
| alphabetical order | each language's own order: å ä ö (Swedish, Finnish) or æ ø å (Norwegian, Danish) after z |
| Markdown table | "Make a Markdown table with the columns "Country" and "Capital" for …" |
| rules that last | a system message ("Always answer in Danish", "End every answer with …") that both replies obey |
| two rules at once | e.g. a word limit plus an end phrase, or capitals plus quotation marks |
The facts in the replies come from Kreatix Nordic Facts
(Wikidata), so the content is correct as well as the format.
Made by KreatixLabs. Every row is built by a program: no language model wrote
any text in this dataset.

What it looks like
{"id": "ic-train-000225",
"messages": [
{"role": "user", "content": "Onko Nærøysundin vai Osenin väkiluku suurempi? Vastaa enintään 16 sanalla. Lopeta vastauksesi täsmälleen lauseeseen \"Siinä kaikki.\""},
{"role": "assistant", "content": "Nærøysund on asukasluvultaan suurempi. Asukkaita: Nærøysund 9920 (2026), Osen 911 (2026). Siinä kaikki."}],
"meta": {"kind": "constraint.end_with+max_words", "lang": "fi", "generator": "kreatix-instruct-constraints", "version": "0.1.0", "turns": [[{"type": "end_with", "p": "Siinä kaikki."}, {"type": "max_words", "n": 16, "answer": "Nærøysund"}, {"type": "contains", "answer": "Nærøysund"}]], "source_ids": ["Q52368284", "Q484257"], "checked_by": "checks.verify on every assistant turn", "answer": "Nærøysund"}}
meta.turns holds the rules for each assistant turn, with everything needed to check a reply.
Evaluating a model
generator/checks.py has no dependencies:
from checks import verify_reply
ok = all(verify_reply(model_reply, rule) for rule in row["meta"]["turns"][0])
The test split holds out whole entities (the same ones Kreatix Nordic Facts holds out) and uses a different seed,
and no test prompt appears in train.
Size
| Split | Rows | en | fi | no | sv | da |
|---|---|---|---|---|---|---|
| train | 30,000 | 9,770 | 6,728 | 4,763 | 4,592 | 4,147 |
| test | 1,500 | 476 | 329 | 247 | 220 | 228 |
About 1.46M tokens in total. stats.json has the counts per rule type; samples.md shows examples in full.
Limitations
- Language check. "Answer in another language" uses a stopword-based language check. Norwegian and Danish
count as one group in the check, and requests never ask to switch between those two. - Templates. Requests and replies follow a limited set of phrasings. The Finnish, Norwegian, Swedish and Danish
templates are awaiting review by native speakers. - Scope. The content is Nordic and world geography and notable Nordic people. The rules are what transfers;
mix with other instruction data for general use.
License
Apache-2.0. The underlying facts come from Wikidata (CC0).