Works with any open LLM, including Llama 3.1
https://github.com/ggerganov/llama.cpp/tree/master/grammars
Supports an EBNF-like syntax, as well as JSON-Schema.
Works with any open LLM, including Llama 3.1