v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
langchain
memory
ConversationSummaryMemoryInput
Interface ConversationSummaryMemoryInput
Interface for the input parameters of the ConversationSummaryMemory class.
interface
ConversationSummaryMemoryInput
{
aiPrefix
?:
string
;
chatHistory
?:
BaseChatMessageHistory
;
humanPrefix
?:
string
;
inputKey
?:
string
;
llm
:
BaseLanguageModelInterface
<
any
,
BaseLanguageModelCallOptions
>
;
memoryKey
?:
string
;
outputKey
?:
string
;
prompt
?:
BasePromptTemplate
<
any
,
BasePromptValueInterface
,
any
>
;
returnMessages
?:
boolean
;
summaryChatMessageClass
?:
(
new
(
content
:
string
)
=>
BaseMessage
)
;
}
Hierarchy (
view full
)
BaseConversationSummaryMemoryInput
ConversationSummaryMemoryInput
Index
Properties
ai
Prefix?
chat
History?
human
Prefix?
input
Key?
llm
memory
Key?
output
Key?
prompt?
return
Messages?
summary
Chat
Message
Class?
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
llm
llm
:
BaseLanguageModelInterface
<
any
,
BaseLanguageModelCallOptions
>
Optional
memory
Key
memory
Key
?:
string
Optional
output
Key
output
Key
?:
string
Optional
prompt
prompt
?:
BasePromptTemplate
<
any
,
BasePromptValueInterface
,
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
ai
Prefix
chat
History
human
Prefix
input
Key
llm
memory
Key
output
Key
prompt
return
Messages
summary
Chat
Message
Class
LangChain.js
Loading...
Interface for the input parameters of the ConversationSummaryMemory class.