πŸ’¬ Welcome to LMQL#

LMQL (Language Model Query Language) is a programming language for large language model (LM) interaction. It facilitates LLM interaction by combining the benefits of natural language prompting with the expressiveness of Python. It has a focus on multi-part prompting and enables novel forms of LM interaction via scripting, constraint-guided decoding, tool augmentation, and efficiency.

LMQL is a research project by the Secure, Reliable, and Intelligent Systems Lab at ETH ZΓΌrich.

Quick Start#

To get started with LMQL, check out the πŸš€ Getting Started guide.

We also provide the following resources to get started with LMQL:

Contents#