DEV Community

Discussion on: Why Asking an LLM for JSON Isn’t Enough

Collapse
 
dev-in-progress profile image
Vaishali

Thanks for sharing this — the Zod + OpenAI SDK approach sounds really useful for the JS/TS side.

I’m currently exploring the JS/TS ecosystem around this and planning a small project to experiment with structured outputs more deeply. I haven’t hit the strict schema + optional field edge cases yet, but I’ll definitely watch for that as I build it.

Really appreciate you pointing that out — I’ll share what I learn once I’ve had a chance to experiment with it more.