v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.0
LangChain.js
langchain/memory
BufferWindowMemoryInput
Interface BufferWindowMemoryInput
Interface for the input parameters of the BufferWindowMemory class.
interface
BufferWindowMemoryInput
{
aiPrefix
?:
string
;
chatHistory
?:
any
;
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
?:
any
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
Theme
OS
Light
Dark
On This Page
ai
Prefix
chat
History
human
Prefix
input
Key
k
memory
Key
output
Key
return
Messages
LangChain.js - v0.2.0
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
Interface for the input parameters of the BufferWindowMemory class.