Adds a new chat message to the Redis database for the current session.
The BaseMessage
instance to add.
Promise resolving when the message has been added.
Retrieves all chat messages from the Redis database for the current session.
Promise resolving to an array of BaseMessage
instances.
Generated using TypeDoc
Class for storing chat message history using Redis. Extends the
BaseListChatMessageHistory
class.Example