langchain.js
Preparing search index...
@langchain/core
runnables
_coerceToRunnable
Function _coerceToRunnable
_coerceToRunnable
<
RunInput
,
RunOutput
,
CallOptions
extends
RunnableConfig
<
Record
<
string
,
any
>
>
=
RunnableConfig
<
Record
<
string
,
any
>
,
>
,
>
(
coerceable
:
RunnableLike
<
RunInput
,
RunOutput
,
CallOptions
>
,
)
:
Runnable
<
RunInput
,
Exclude
<
RunOutput
,
Error
>
,
CallOptions
>
Type Parameters
RunInput
RunOutput
CallOptions
extends
RunnableConfig
<
Record
<
string
,
any
>
>
=
RunnableConfig
<
Record
<
string
,
any
>
>
Parameters
coerceable
:
RunnableLike
<
RunInput
,
RunOutput
,
CallOptions
>
Returns
Runnable
<
RunInput
,
Exclude
<
RunOutput
,
Error
>
,
CallOptions
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...