SlmStrict
Being built for schema-conformant output from small models.
Brand: Tunedness
SlmStrict is a Python library being built for reliable structured output from on-device small language models; an opt-in cloud fallback is part of its scope. It is one of Tunedness’s open source projects.
Status
SlmStrict is experimental. The repository contains only the project skeleton; the library does not provide any behavior yet, and its API will change without notice. What follows is the scope the project is aiming for, not features that work today.
Targeted scope
Developers who embed a local language model in their application struggle to get structured output from small models. SlmStrict aims to address this with:
- schema-constrained decoding where the backend supports it,
- deterministic repair,
- re-asking,
- an optional cloud fallback that stays off unless configured.
License
Apache-2.0. You can follow progress in the GitHub repository.
Key features
- Goal: reliable structured output from on-device small language models
- Goal: schema-constrained decoding where the backend supports it
- Goal: deterministic repair and re-asking
- Goal: an optional cloud fallback that stays off unless configured
- Open source, Apache-2.0
Frequently asked questions
What is SlmStrict?+
A Python library being built for reliable structured output from on-device small language models. An opt-in cloud fallback is also planned.
Can I use it today?+
No. The project is experimental: the repository contains only the project skeleton, the library does not provide any behavior yet, and its API will change without notice.
What is it aimed at?+
Developers who embed a local language model in their application. Planned scope: schema-constrained decoding where the backend supports it, deterministic repair, re-asking, and a cloud fallback that opens only when configured.
How is it installed?+
There is no package to install yet. To follow along, watch the GitHub repository.
What is the license?+
Apache-2.0. The code is on GitHub.
Let’s build your next project together
Tell us your idea and we’ll design the right solution for you.
Get in touch