Class: SimpleChatHistory
A ChatHistory is used to keep the state of back and forth chat messages
Hierarchy
-
↳
SimpleChatHistory
Constructors
constructor
• new SimpleChatHistory(init?
): SimpleChatHistory
Parameters
Name | Type |
---|---|
init? | Partial <SimpleChatHistory > |
Returns
Overrides
Defined in
packages/core/src/ChatHistory.ts:42
Properties
messages
• messages: ChatMessage
[]