Ask a question to get started
Enter to sendā¢Shift+Enter new line
Creates a new StructuredOutputParser from a Zod schema.
fromZodSchema<T extends InteropZodType>(schema: T): StructuredOutputParser<T>
schema
T
The Zod schema which the output should match