Type alias StructuredOutputChainInput

StructuredOutputChainInput: Omit<LLMChainInput, "outputParser" | "llm"> & {
    outputSchema: JsonSchema7Type;
    prompt: BasePromptTemplate;
    llm?: BaseChatModel<BaseFunctionCallOptions>;
}

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 declaration

  • outputSchema: JsonSchema7Type
  • prompt: BasePromptTemplate
  • Optional llm?: BaseChatModel<BaseFunctionCallOptions>

Generated using TypeDoc