v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.14
LangChain.js
langchain/chains/openai_functions
createStructuredOutputChainFromZod
Function createStructuredOutputChainFromZod
create
Structured
Output
Chain
From
Zod
<
T
>
(
zodSchema
,
input
)
:
LLMChain
<
string
,
any
>
Type Parameters
T
extends
AnyZodObject
Parameters
zodSchema
:
T
input
:
Omit
<
StructuredOutputChainInput
<
T
>
,
"outputSchema"
>
Returns
LLMChain
<
string
,
any
>
Deprecated
Use
createStructuredOutputRunnable
instead
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js - v0.2.14
Loading...
Deprecated
Use createStructuredOutputRunnable instead