Practical · text-generation · WebAssembly (CPU)
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.
The model's JSON appears here as it streams.
JSON.parse() resultIf the output is valid JSON, the parsed object shows here.
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 →