v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
langchain
memory
BufferWindowMemoryInput
Interface BufferWindowMemoryInput
Interface for the input parameters of the BufferWindowMemory class.
interface
BufferWindowMemoryInput
{
aiPrefix
?:
string
;
chatHistory
?:
BaseChatMessageHistory
;
humanPrefix
?:
string
;
inputKey
?:
string
;
k
?:
number
;
memoryKey
?:
string
;
outputKey
?:
string
;
returnMessages
?:
boolean
;
}
Hierarchy (
view full
)
BaseChatMemoryInput
BufferWindowMemoryInput
Implemented by
BufferWindowMemory
Index
Properties
ai
Prefix?
chat
History?
human
Prefix?
input
Key?
k?
memory
Key?
output
Key?
return
Messages?
Properties
Optional
ai
Prefix
ai
Prefix
?:
string
Optional
chat
History
chat
History
?:
BaseChatMessageHistory
Optional
human
Prefix
human
Prefix
?:
string
Optional
input
Key
input
Key
?:
string
Optional
k
k
?:
number
Optional
memory
Key
memory
Key
?:
string
Optional
output
Key
output
Key
?:
string
Optional
return
Messages
return
Messages
?:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
ai
Prefix
chat
History
human
Prefix
input
Key
k
memory
Key
output
Key
return
Messages
LangChain.js
Loading...
Interface for the input parameters of the BufferWindowMemory class.