From 911a6494c5ff6316b448cd254e7a0112e90f2a0b Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Wed, 24 Apr 2024 13:52:01 -0400 Subject: [PATCH] x --- libs/community/langchain_community/memory/kg.py | 2 +- libs/community/langchain_community/memory/motorhead_memory.py | 2 +- libs/community/langchain_community/memory/zep_memory.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/community/langchain_community/memory/kg.py b/libs/community/langchain_community/memory/kg.py index 97d6a02e84..09787d396c 100644 --- a/libs/community/langchain_community/memory/kg.py +++ b/libs/community/langchain_community/memory/kg.py @@ -136,5 +136,5 @@ try: self.kg.clear() except ImportError: # Placeholder object - class ConversationKGMemory: + class ConversationKGMemory: # type: ignore[no-redef] pass diff --git a/libs/community/langchain_community/memory/motorhead_memory.py b/libs/community/langchain_community/memory/motorhead_memory.py index 50f122c56d..1dbc117cc0 100644 --- a/libs/community/langchain_community/memory/motorhead_memory.py +++ b/libs/community/langchain_community/memory/motorhead_memory.py @@ -96,5 +96,5 @@ try: requests.delete(f"{self.url}/sessions/{self.session_id}/memory") except ImportError: # Placeholder object - class MotorheadMemory: + class MotorheadMemory: # type: ignore[no-redef] pass diff --git a/libs/community/langchain_community/memory/zep_memory.py b/libs/community/langchain_community/memory/zep_memory.py index 9743aa8240..80d7caad0c 100644 --- a/libs/community/langchain_community/memory/zep_memory.py +++ b/libs/community/langchain_community/memory/zep_memory.py @@ -125,5 +125,5 @@ try: self.chat_memory.add_ai_message(output_str, metadata=metadata) except ImportError: # Placeholder object - class ZepMemory: + class ZepMemory: # type: ignore[no-redef] pass