From acc14802d1220eb72ee1d9d3c6d4de77f835b95e Mon Sep 17 00:00:00 2001 From: Bob Lin Date: Mon, 22 Jan 2024 09:53:49 -0600 Subject: [PATCH] Fix `conn` field definition in SQLiteEntityStore (#15440) --- libs/langchain/langchain/memory/entity.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/langchain/langchain/memory/entity.py b/libs/langchain/langchain/memory/entity.py index f2fb62ed96..65b31cf2d3 100644 --- a/libs/langchain/langchain/memory/entity.py +++ b/libs/langchain/langchain/memory/entity.py @@ -236,6 +236,12 @@ class SQLiteEntityStore(BaseEntityStore): session_id: str = "default" table_name: str = "memory_store" + conn: Any = None + + class Config: + """Configuration for this pydantic object.""" + + arbitrary_types_allowed = True def __init__( self,