v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/core
runnables
patchConfig
Function patchConfig
patch
Config
<
CallOptions
>
(
config
?
,
__namedParameters
?
)
:
Partial
<
CallOptions
>
Helper function that patches runnable configs with updated properties.
Type Parameters
CallOptions
extends
RunnableConfig
<
Record
<
string
,
any
>
>
Parameters
config
:
Partial
<
CallOptions
>
= {}
__namedParameters
:
RunnableConfig
<
Record
<
string
,
any
>
>
= {}
Returns
Partial
<
CallOptions
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...
Helper function that patches runnable configs with updated properties.