You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
swittk, occasionallydavid, zrm, Green-Sky, lin72h and 3 more