v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.0-rc.1
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
)
[]
;
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
)
[]
Type declaration
(
config
)
:
RunnableConfig
Parameters
config
:
RunnableConfig
Returns
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
get
Message
History
runnable
config
config
Factories
history
Messages
Key
input
Messages
Key
kwargs
output
Messages
Key
LangChain.js - v0.2.0-rc.1
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
chains/graph_qa/cypher
chat_models
alibaba_tongyi
baiduwenxin
Loading...
Generated using
TypeDoc