Closed
Description
This is a neat idea: basically, constrain the output to a particular subset of tokens so that you are guaranteed to generate data of a particular format, and also fill in other context after each piece of output automatically.
In this specific example the format is "JSON with a particular schema", and that's a good place to start, although the technique obviously generalizes.