logoalt Hacker News

koakuma-chanyesterday at 6:56 PM3 repliesview on HN

OpenAI is still the only AI company that has structured outputs. Anthropic now supports JSON schema but you can't specify array length.


Replies

jiggawattsyesterday at 8:46 PM

Google Gemini definitely has structured output.

wahnfriedenyesterday at 7:58 PM

Can you elaborate what you mean - OAI structured outputs means JSON schema doesn't it? So are you just saying they both support JSON schema but Anthropic has a limitation?

show 1 reply