Hacker News new | ask | show | jobs
by NerualNowtork 434 days ago
Good point!

Yes, if we're talking about coding, luckily we don't need to deal with JSON schema in most cases. But there are places like OpenAI's playground and low-code platforms that don't support Pydantic model definition. I also doubt they will ever add Pydantic support because of the nature of such products.

Besides, I feel we need some automatic prompt engineering for structured output, then it'll probably be better done on JSON schema than on JS/Python code because you can use JSON as part of the prompt. But maybe I'm betting wrong on the future!