Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Show HN: Token-efficient zod-like schema definition library for LLMs
(opens in new tab)
(github.com)
3 points
lunarcave
8mo ago
2 comments
Share
Show HN: Token-efficient zod-like schema definition library for LLMs | Better HN
2 comments
default
newest
oldest
nbbaier
8mo ago
Interesting, but why wouldn't I just use zod here?
lunarcave
OP
8mo ago
Zod doesn't give you the ability to serialize or de-serialize schemas, unless you convert to JSON schema, which is verbose. See:
https://github.com/colinhacks/zod/discussions/2030
j
/
k
navigate · click thread line to collapse