v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/core
runnables
ensureConfig
Function ensureConfig
ensure
Config
<
CallOptions
>
(
config
?
)
:
CallOptions
Ensure that a passed config is an object with all required keys present.
Type Parameters
CallOptions
extends
RunnableConfig
<
Record
<
string
,
any
>
>
Parameters
Optional
config
:
CallOptions
Returns
CallOptions
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...
Ensure that a passed config is an object with all required keys present.