That said, JSON is “language neutral” but also super convenient for JavaScript developers and typically more convenient for most people than XML.
We want a format for LLMs or for people?
Why would we need to concert XML, which already supports schemas and is well understood by LLMs, back to JSON schema?
When you provide a JSONSchemea, the result from the LLM is validated in the code between before passing on to the next step. Yes the LLM is reading it too, but non LLM parts of the system use the schema as well
This is arguably much more important for tools and subagents, but also these things are being trained with JSONSchema for tool calling and structured output
> This provides O(1) performance
Wouldn’t 1% of N still imply O(N) performance?
How did we end up in a world where 97 items is considered large?
podperson•2mo ago
7thpower•2mo ago
nerdponx•2mo ago
podperson•2mo ago
This is actually discussed in the linked article (READ ME file).
halayli•2mo ago
most of the claims you're making against zod is inaccurate. the readme feels like false claims by ai.
podperson•2mo ago
dsabanin•2mo ago
sesm•2mo ago
light_hue_1•2mo ago
This all seems pretty uninformed.
podperson•2mo ago
taveras•2mo ago
Will you support Standard Schema (https://standardschema.dev)? How does this compare to typebox (https://github.com/sinclairzx81/typebox)?