langchain.js
Preparing search index...
langchain
memory
ConversationTokenBufferMemoryInput
Interface ConversationTokenBufferMemoryInput
Interface for the input parameters of the
BufferTokenMemory
class.
interface
ConversationTokenBufferMemoryInput
{
aiPrefix
?:
string
;
chatHistory
?:
any
;
humanPrefix
?:
string
;
inputKey
?:
string
;
llm
:
BaseLanguageModelInterface
;
maxTokenLimit
?:
number
;
memoryKey
?:
string
;
outputKey
?:
string
;
returnMessages
?:
boolean
;
}
Hierarchy (
View Summary
)
BaseChatMemoryInput
ConversationTokenBufferMemoryInput
Implemented by
ConversationTokenBufferMemory
Index
Properties
ai
Prefix?
chat
History?
human
Prefix?
input
Key?
llm
max
Token
Limit?
memory
Key?
output
Key?
return
Messages?
Properties
Optional
ai
Prefix
aiPrefix
?:
string
Optional
chat
History
chatHistory
?:
any
Optional
human
Prefix
humanPrefix
?:
string
Optional
input
Key
inputKey
?:
string
llm
llm
:
BaseLanguageModelInterface
Optional
max
Token
Limit
maxTokenLimit
?:
number
Optional
memory
Key
memoryKey
?:
string
Optional
output
Key
outputKey
?:
string
Optional
return
Messages
returnMessages
?:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
ai
Prefix
chat
History
human
Prefix
input
Key
llm
max
Token
Limit
memory
Key
output
Key
return
Messages
langchain.js
Loading...
Interface for the input parameters of the
BufferTokenMemory
class.