Replies: 1 comment
-
@salmanrf why is it closed? Have you resolved this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i've been struggling to figure out why my zod schema doesn't work,
I'm using langchain's StrudturedOutputParser which uses zod internally,
The following is my schema:
And here is a sample data:
Validating the above data against my schema fails with the following error:
The actual errors and data are much larger than these, i want to start by understanding the very first error.
As you can see the path specifies content[0].size, which is missing, but the "table" schema doesn't actually require size to be present.
Beta Was this translation helpful? Give feedback.
All reactions