How to use structured output with AI blocks
If you’re using AI blocks and want to enforce output of some time (for instance, if you’re using them to do simple calculations), you can achieve this with some simple prompt engineering and a ‘parse JSON’ block after your AI block.