Static
fromCreates a new StructuredOutputParser from a set of names and descriptions.
An object where each key is a name and each value is a description
A new instance of StructuredOutputParser.
Static
fromCreates a new StructuredOutputParser from a Zod schema.
The Zod schema which the output should match
A new instance of StructuredOutputParser.
Generated using TypeDoc
Returns a markdown code snippet with a JSON object formatted according to the schema.