Class used to store chat message history in Redis. It provides methods to add, get, and clear messages.
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.
Deletes all messages from the chat history in the Redis database.
Retrieves the chat messages from the Redis database.
An array of BaseMessage instances representing the chat history.
Class used to store chat message history in Redis. It provides methods to add, get, and clear messages.