Messing about with getting structured outputs from an LLM.
The concept of 'tools' in Vercel's 'ai' lib makes this pretty simple.
https://video.nostr.build/86286c1db7a5ece5cefc5548ae4b273d69d874033a2dc7c6e520f4f686258a46.mp4
Source: x.com/mattpocockuk/status/1851245892549923151