Adds a new message to the chat history in the Redis database.
The message to be added to the chat history.
Promise resolving to void.
Retrieves the chat messages from the Redis database.
An array of BaseMessage instances representing the chat history.
Generated using TypeDoc
Class used to store chat message history in Redis. It provides methods to add, get, and clear messages.