in most cases, we need to persistence the chat message history to database, and load it by session id, so that the history will not be lost when we restart the server.
this pull request define a class DataBaseChatMessageHistory to support this feature, we also add a redis based databaseChatMessageHistory implementation.
in most cases, we need to persistence the chat message history to database, and load it by session id, so that the history will not be lost when we restart the server.
this pull request define a class
DataBaseChatMessageHistory
to support this feature, we also add a redis based databaseChatMessageHistory implementation.