Adds a message to the chat history.
The message to add to the chat history.
Promise that resolves when the message has been added.
Retrieves all messages from the chat history.
Promise that resolves with an array of BaseMessage instances.
Generated using TypeDoc
Class used to store chat message history in Redis. It provides methods to add, retrieve, and clear messages from the chat history.
Example