Class: SummaryChatHistory
A ChatHistory is used to keep the state of back and forth chat messages
Implements
Constructors
constructor
• new SummaryChatHistory(init?
)
Parameters
Name | Type |
---|---|
init? | Partial <SummaryChatHistory > |
Defined in
packages/core/src/ChatHistory.ts:70
Properties
llm
• llm: LLM
Defined in
packages/core/src/ChatHistory.ts:67
messages
• messages: ChatMessage
[]
Implementation of
Defined in
packages/core/src/ChatHistory.ts:65
messagesBefore
• Private
messagesBefore: number
Defined in
packages/core/src/ChatHistory.ts:68