langchain.js
Preparing search index...
@langchain/core
runnables
RunnableFunc
Type Alias RunnableFunc<RunInput, RunOutput, CallOptions>
RunnableFunc
:
(
input
:
RunInput
,
options
:
|
CallOptions
|
Record
<
string
,
any
>
|
Record
<
string
,
any
>
&
CallOptions
,
)
=>
RunOutput
|
Promise
<
RunOutput
>
Type Parameters
RunInput
RunOutput
CallOptions
extends
RunnableConfig
=
RunnableConfig
Type Declaration
(
input
:
RunInput
,
options
:
|
CallOptions
|
Record
<
string
,
any
>
|
Record
<
string
,
any
>
&
CallOptions
,
)
:
RunOutput
|
Promise
<
RunOutput
>
Parameters
input
:
RunInput
options
:
CallOptions
|
Record
<
string
,
any
>
|
Record
<
string
,
any
>
&
CallOptions
Returns
RunOutput
|
Promise
<
RunOutput
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...