Skip to content

Comment on Sampling and structured outputs in LLMsparent

Comments

When you say custom grammar, do you mean something other than a JSON schema, because they support that?

I mean, most don't? I know you can provide a pseudo-EBNF grammar to llama.cpp but, for example, none of Anthropic, Azure, Bedrock, Mistral or Gemini allow us the same.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.