lmql-rs
An LLM programming language inspired by the Python library of the same name
Features
- Multiple backend support, including Anthropic and OpenRouter
- Stream-based async API to allow for real-time response
- Stream cancelling to avoid wasting tokens on a bad response
- Macros for a prompt DSL like the LMQL Python library
Usage
use StreamExt;
use ;
async