JSON Schema
-
LLMs & Generative AI
Getting Reliable JSON From Language Models: What Actually Works
Asking a model politely for JSON produces valid JSON most of the time, which is the worst possible failure rate.…
Read More » -
LLMs & Generative AI
Constrained Decoding Beats Asking Nicely for JSON
Prompting for valid JSON gets you valid JSON most of the time. Constraining the decoder to a grammar gets it…
Read More »