A nice write up for LMQL
A nice write up for LMQL

analyticsindiamag.com
LMQL: The Cure for LLM Chatbot Hallucination?

For the uninitiated, LMQL is one of a few offerings in the AI space (amongst others like guidance and guardrails) that allows for finer control of the AIs output and allows you to guarantee some patterns which is hugely helpful for a whole variety of use cases (tool use, safe chatbots, parseable data)