v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-core/runnables
RunnableWithMessageHistoryInputs
Interface RunnableWithMessageHistoryInputs<RunInput, RunOutput>
interface
RunnableWithMessageHistoryInputs
<
RunInput
,
RunOutput
>
{
getMessageHistory
:
GetSessionHistoryCallable
;
runnable
:
Runnable
<
RunInput
,
RunOutput
,
RunnableConfig
>
;
config
?:
RunnableConfig
;
configFactories
?:
(
(
config
:
RunnableConfig
)
=>
RunnableConfig
)
[]
;
historyMessagesKey
?:
string
;
inputMessagesKey
?:
string
;
kwargs
?:
Partial
<
RunnableConfig
>
;
outputMessagesKey
?:
string
;
}
Type Parameters
RunInput
RunOutput
Hierarchy
Omit
<
RunnableBindingArgs
<
RunInput
,
RunOutput
>
,
"bound"
|
"config"
>
RunnableWithMessageHistoryInputs
Index
Properties
get
Message
History
runnable
config?
config
Factories?
history
Messages
Key?
input
Messages
Key?
kwargs?
output
Messages
Key?
Properties
get
Message
History
get
Message
History
:
GetSessionHistoryCallable
runnable
runnable
:
Runnable
<
RunInput
,
RunOutput
,
RunnableConfig
>
Optional
config
config
?:
RunnableConfig
Optional
config
Factories
config
Factories
?:
(
(
config
:
RunnableConfig
)
=>
RunnableConfig
)
[]
Optional
history
Messages
Key
history
Messages
Key
?:
string
Optional
input
Messages
Key
input
Messages
Key
?:
string
Optional
kwargs
kwargs
?:
Partial
<
RunnableConfig
>
Optional
output
Messages
Key
output
Messages
Key
?:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
get
Message
History
runnable
config
config
Factories
history
Messages
Key
input
Messages
Key
kwargs
output
Messages
Key
LangChain.js - v0.2.8
Loading...