Class: SummaryChatHistory
A ChatHistory is used to keep the state of back and forth chat messages
Extends
Constructors
new SummaryChatHistory()
new SummaryChatHistory(
init
?):SummaryChatHistory
Parameters
• init?: Partial
<SummaryChatHistory
>
Returns
Overrides
Source
packages/core/src/ChatHistory.ts:81
Properties
llm
llm:
LLM
<object
,object
>
Source
packages/core/src/ChatHistory.ts:78
messages
messages:
ChatMessage
[]
Overrides
Source
packages/core/src/ChatHistory.ts:76
messagesBefore
private
messagesBefore:number