Pricing: Free
Type: Code Assistant

LMQL is a programming language designed for language model interaction. It offers various features such as debugger support, decoders, templates, retrieval, token masking, control flow, and more.

Use Cases

  • ๐Ÿค— Chatbot: Use LMQL to build conversational chatbots.
  • ๐Ÿ‘ด Tell A Joke: LMQL can generate jokes with punchlines.
  • ๐ŸŒด Packing List: Generate a list of things to pack for a trip.
  • ๐Ÿง  Chain-Of-Thought: Express Chain-of-Thought prompts using LMQL queries.
  • ๐Ÿงฎ Calculator: Perform arithmetic calculations using LMQL.
  • ๐ŸŒŽ Wikipedia Search: Use LMQL to search for information on Wikipedia.
  • ๐Ÿ“– Key-Value Memory: Implement a key-value memory using LMQL.
  • ๐Ÿ“Š Distributions: LMQL supports working with distributions.


  • A debugger for easy debugging of language model interactions.
  • Support for various decoders such as argmax, sample, and beam search.
  • Integration with ๐Ÿค— Transformers library.
  • Ability to use templates for prompt generation.
  • Retrieval of relevant information.
  • Token masking for fine-grained control.
  • Control flow support for programmatically controlling the generation process.

Sign In


Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.