lmql
lmql copied to clipboard
Support Anthropic's Claude LLM
Having a Claude option would be nice.
We intend to add more model backends over time. For Anthropic models, it looks like the API is still very restricted: https://docs.anthropic.com/claude/reference/complete_post.
More specifically, it does not offer a way to mask the model distribution via a logit bias. This means we can add support, but full constraining/model steering will not be possible, due to API restrictions on their end.
Still, I'll keep this issue around, adding support is definitely a good suggestion.