From 9fc84fc1ac59f916b615192d743c470a7e383bac Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 20 Mar 2025 12:17:26 -0400 Subject: [PATCH] Fix incorrect import statement in memory examples documentation (fixes #2395) (#2396) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Joe Moura Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com> --- docs/concepts/memory.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/concepts/memory.mdx b/docs/concepts/memory.mdx index 298e8814c..bb4e885cd 100644 --- a/docs/concepts/memory.mdx +++ b/docs/concepts/memory.mdx @@ -60,7 +60,8 @@ my_crew = Crew( ```python Code from crewai import Crew, Process from crewai.memory import LongTermMemory, ShortTermMemory, EntityMemory -from crewai.memory.storage import LTMSQLiteStorage, RAGStorage +from crewai.memory.storage.rag_storage import RAGStorage +from crewai.memory.storage.ltm_sqlite_storage import LTMSQLiteStorage from typing import List, Optional # Assemble your crew with memory capabilities @@ -119,7 +120,7 @@ Example using environment variables: import os from crewai import Crew from crewai.memory import LongTermMemory -from crewai.memory.storage import LTMSQLiteStorage +from crewai.memory.storage.ltm_sqlite_storage import LTMSQLiteStorage # Configure storage path using environment variable storage_path = os.getenv("CREWAI_STORAGE_DIR", "./storage") @@ -148,7 +149,7 @@ crew = Crew(memory=True) # Uses default storage locations ```python from crewai import Crew from crewai.memory import LongTermMemory -from crewai.memory.storage import LTMSQLiteStorage +from crewai.memory.storage.ltm_sqlite_storage import LTMSQLiteStorage # Configure custom storage paths crew = Crew(