🧩 3D Function-Call Arguments: Constrained Decoding Masks, Rejection Retries with Hints and the KL Cost
Four rows of probability bars on a Blender-built workbench, one per function-call argument: green bars are schema-valid, red bars are not. Compare free sampling, rejection with retry hints and constrained decoding, and see that the mask costs exactly log2(1/P) bits of KL, with Monte Carlo, geometric-series and identity checks.
⚙ Under the hood
Four rows of probability bars on a Blender-built workbench, one per function-call argument: green bars are schema-valid, red bars are not. Compare free sampling, rejection with retry hints and constrained decoding, and see that the mask costs exactly log2(1/P) bits of KL, with Monte Carlo, geometric-series and identity checks.
Constrained DecodingFunction CallingJSON SchemaRejection SamplingToken MaskingKL DivergenceLarge Language ModelsRetry Budget
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install