Creates a new StructuredOutputParser from a set of names and descriptions.
fromNamesAndDescriptions<
S extends __type
>(
schemas: S
): JsonMarkdownStructuredOutputParser<ZodObject<__type, "strip", ZodTypeAny, __type, __type>>| Name | Type | Description |
|---|---|---|
schemas* | S | An object where each key is a name and each value is a description |