Hacker News new | ask | show | jobs
by tardismechanic 358 days ago
This is amazing!

I wonder if OpenAI Structured Output [1] could be leveraged to constrain generation to required JSON Schema (and then convert to XML later)...

[1] https://platform.openai.com/docs/guides/structured-outputs

1 comments

omg i would never want to see the json file! lol the format is sooo complex. I think it needs to stay xml. But I love the idea of openai just speaking this.