v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.14
LangChain.js
langchain/memory
ConversationSummaryBufferMemoryInput
Interface ConversationSummaryBufferMemoryInput
Interface for the input parameters of the ConversationSummaryBufferMemory class.
interface
ConversationSummaryBufferMemoryInput
{
llm
:
BaseLanguageModelInterface
;
aiPrefix
?:
string
;
chatHistory
?:
any
;
humanPrefix
?:
string
;
inputKey
?:
string
;
maxTokenLimit
?:
number
;
memoryKey
?:
string
;
outputKey
?:
string
;
prompt
?:
any
;
returnMessages
?:
boolean
;
summaryChatMessageClass
?:
(
new
(
content
:
string
)
=>
BaseMessage
)
;
}
Hierarchy (
view full
)
BaseConversationSummaryMemoryInput
ConversationSummaryBufferMemoryInput
Implemented by
ConversationSummaryBufferMemory
Index
Properties
llm
ai
Prefix?
chat
History?
human
Prefix?
input
Key?
max
Token
Limit?
memory
Key?
output
Key?
prompt?
return
Messages?
summary
Chat
Message
Class?
Properties
llm
llm
:
BaseLanguageModelInterface
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
max
Token
Limit
max
Token
Limit
?:
number
Optional
memory
Key
memory
Key
?:
string
Optional
output
Key
output
Key
?:
string
Optional
prompt
prompt
?:
any
Optional
return
Messages
return
Messages
?:
boolean
Optional
summary
Chat
Message
Class
summary
Chat
Message
Class
?:
(
new
(
content
:
string
)
=>
BaseMessage
)
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
llm
ai
Prefix
chat
History
human
Prefix
input
Key
max
Token
Limit
memory
Key
output
Key
prompt
return
Messages
summary
Chat
Message
Class
LangChain.js - v0.2.14
Loading...
Interface for the input parameters of the ConversationSummaryBufferMemory class.