Replies: 2 comments
-
The concept of Signatures is core to the dspy papers which this lib is based on. Yes, while similiar to zod in some aspects it is constrained to what we need, Zod has extensive support for nested objects etc which we don't need. Finally the signature itself is in english and is easy for llm's to themselves generate helping to create meta effects where the llm can itself build with ax. You can use zod on top of this if you like like create a zod schema that itself transforms into a signature |
Beta Was this translation helpful? Give feedback.
-
This. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to understand -- why create a new syntax (i.e. "signatures") for defining inputs & outputs and not use something like zod?
Seems like you'd be able to convert from zod schema --> prompt just as easily.
Has this been considered?
Beta Was this translation helpful? Give feedback.
All reactions