withStructuredOutput<
RunOutput extends Record<string, any> = Record<string, any>
>(
outputSchema: Record<string, any> | InteropZodType<RunOutput>,
config: StructuredOutputMethodOptions<false>
): Runnable<BaseLanguageModelInput, RunOutput>| Name | Type | Description |
|---|---|---|
outputSchema* | Record<string, any> | InteropZodType<RunOutput> | |
config | StructuredOutputMethodOptions<false> |