StructuredOutputChainInput<T>: Omit<LLMChainInput, "outputParser" | "llm"> & {
    prompt: Toolkit;
    llm?: Toolkit<Toolkit>;
    outputSchema?: JsonSchema7Type;
    zodSchema?: T;
}

Type representing the input for creating a structured output chain. It extends the LLMChainInput type and includes an additional 'outputSchema' field representing the JSON schema for the expected output.

Type Parameters

  • T extends z.AnyZodObject = z.AnyZodObject

Type declaration

  • prompt: Toolkit
  • Optional llm?: Toolkit<Toolkit>
  • Optional outputSchema?: JsonSchema7Type
  • Optional zodSchema?: T

Generated using TypeDoc