Having Fun with Vercel’s AI SDK and AI Gateway
The why and how to get it installed and use it with different models, then actually build something. Plus a little Zod type safety for good measure.
The why and how to get it installed and use it with different models, then actually build something. Plus a little Zod type safety for good measure.
I can easily imagine a job interview question being “What’s the difference between TypeScript and Zod and in what circumstances do you need each?” They are both type validation libraries. Would you ever need both? The short answer is that TypeScript is great but can’t help you at runtime, where you might get data from […]
While I’m on a thread here, here’s another thing you’re definitely going to do in your web development career: validate some data. I just linked up some stuff about form validation, for instance. TypeScript can be a part of this process. There is some degree of data safety in your application by virtue of strictly […]
Master.dev donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.