🧩 2D Function-Call Arguments: Constrained Decoding Masks, Rejection Retries with Hints and the KL Cost
Probability bars for the four arguments of a function call, valid and invalid values, the validator gate and the sampled ball: free sampling, rejection with retry hints and masked decoding, with the closed forms for success probability, mean attempts and KL cost and six independent numerical checks.
⚙ Under the hood
Probability bars for the four arguments of a function call, valid and invalid values, the validator gate and the sampled ball: free sampling, rejection with retry hints and masked decoding, with the closed forms for success probability, mean attempts and KL cost and six independent numerical checks.
Constrained DecodingFunction CallingJSON SchemaRejection SamplingToken MaskingKL DivergenceLarge Language ModelsRetry Budget
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install