From 349ba88aee3d70d0427db8046b01f3caff2f52fa Mon Sep 17 00:00:00 2001 From: engkheng <60956360+outday29@users.noreply.github.com> Date: Thu, 4 May 2023 09:14:47 +0800 Subject: [PATCH] Export `FileChatMessageHistory` (#4042) --- langchain/memory/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/langchain/memory/__init__.py b/langchain/memory/__init__.py index b8f321c8..2a6f3495 100644 --- a/langchain/memory/__init__.py +++ b/langchain/memory/__init__.py @@ -5,6 +5,7 @@ from langchain.memory.buffer import ( from langchain.memory.buffer_window import ConversationBufferWindowMemory from langchain.memory.chat_message_histories.cosmos_db import CosmosDBChatMessageHistory from langchain.memory.chat_message_histories.dynamodb import DynamoDBChatMessageHistory +from langchain.memory.chat_message_histories.file import FileChatMessageHistory from langchain.memory.chat_message_histories.in_memory import ChatMessageHistory from langchain.memory.chat_message_histories.postgres import PostgresChatMessageHistory from langchain.memory.chat_message_histories.redis import RedisChatMessageHistory @@ -42,4 +43,5 @@ __all__ = [ "PostgresChatMessageHistory", "VectorStoreRetrieverMemory", "CosmosDBChatMessageHistory", + "FileChatMessageHistory", ]