Returns a markdown code snippet with a JSON object formatted according to the schema.
Optionaloptions: JsonMarkdownFormatInstructionsOptionsOptional. The options for formatting the instructions
A markdown code snippet with a JSON object formatted according to the schema.
StaticfromCreates 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.
StaticfromCreates a new StructuredOutputParser from a Zod schema.
The Zod schema which the output should match
A new instance of StructuredOutputParser.
A specific type of
StructuredOutputParserthat parses JSON data formatted as a markdown code snippet.