Type Alias StructuredOutputChainInput<T>
StructuredOutputChainInput<T>: { callbackManager?: undefined | CallbackManager; callbacks?: undefined | Callbacks; llm?: undefined | BaseChatModel<BaseFunctionCallOptions, BaseMessageChunk>; llmKwargs: any; memory?: undefined | BaseMemory; metadata?: undefined | Record<string, unknown>; outputKey: undefined | string; outputSchema?: undefined | JsonSchema7Type; prompt: BasePromptTemplate<any, BasePromptValueInterface, any>; tags?: undefined | string[]; verbose?: undefined | boolean; zodSchema?: undefined | T; } Type Parameters
- T extends z.AnyZodObject = z.AnyZodObject
Type declaration
OptionalcallbackManager?: undefined | CallbackManager
Optionalcallbacks?: undefined | Callbacks
Optionalllm?: undefined | BaseChatModel<BaseFunctionCallOptions, BaseMessageChunk>
llmKwargs: any
Optionalmemory?: undefined | BaseMemory
Optionalmetadata?: undefined | Record<string, unknown>
outputKey: undefined | string
OptionaloutputSchema?: undefined | JsonSchema7Type
prompt: BasePromptTemplate<any, BasePromptValueInterface, any>
Optionaltags?: undefined | string[]
Optionalverbose?: undefined | boolean
OptionalzodSchema?: undefined | 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.