langchain.js
Preparing search index...
langchain
index
providerStrategy
Function providerStrategy
LangChain Agents
providerStrategy
<
T
extends
InteropZodType
<
any
>
>
(
responseFormat
:
T
,
)
:
ProviderStrategy
<
T
extends
InteropZodType
<
U
>
?
U
:
never
>
Type Parameters
T
extends
InteropZodType
<
any
>
Parameters
responseFormat
:
T
Returns
ProviderStrategy
<
T
extends
InteropZodType
<
U
>
?
U
:
never
>
providerStrategy
(
responseFormat
:
JsonSchemaFormat
,
)
:
ProviderStrategy
<
Record
<
string
,
unknown
>
>
Parameters
responseFormat
:
JsonSchemaFormat
Returns
ProviderStrategy
<
Record
<
string
,
unknown
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...
LangChain Agents