LMQL
LMQL is a query language for large language models. It mixes Python with prompt constraints for structured generation. Developers write programs that treat LLMs as part of the pipeline. The project comes from ETH Zurich researchers and is open source.