Class AsymmetricStructuredOutputParser<T, Y>Abstract

A type of StructuredOutputParser that handles asymmetric input and output schemas.

Type Parameters

  • T extends z.ZodTypeAny
  • Y = unknown

Hierarchy (view full)

Constructors

Methods

  • Processes the parsed input into the desired output format. Must be implemented by subclasses.

    Parameters

    • input: TypeOf<T>

      The parsed input

    Returns Promise<Y>

    The processed output.