โ† Apertus 1.5B

Practical ยท text-generation ยท WebAssembly (CPU)

Free text โ†’ structured JSON

The most useful thing a small on-device LLM does for a product: read messy human text and emit clean, schema-shaped JSON your form or API can consume โ€” with nothing leaving the device. Paste a review, email, or note and extract it. The page then parses the JSON to prove it's real, machine-readable output.

Run it

Target fields

summary ยท sentiment (positive/neutral/negative) ยท action_items[] ยท people[]

Raw model output

The model's JSON appears here as it streams.

Parsed JSON.parse() result

If the output is valid JSON, the parsed object shows here.

Why this pattern works

A system prompt fixes the schema and demands "JSON only, no prose"; greedy decoding keeps the output deterministic. The page strips any stray code fences and runs JSON.parse() โ€” the honest test of whether the model produced machine-readable output, not just plausible text. Small models occasionally miss a field; validating in-page and re-prompting is the shippable pattern.

Next rung: Wild โ€” the persona engine โ†’