From f0d773da795145cfabd80fe5e290cc2c6cc21bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Sun, 9 Feb 2025 16:47:05 -0300 Subject: [PATCH] Update memory.mdx --- docs/concepts/memory.mdx | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/docs/concepts/memory.mdx b/docs/concepts/memory.mdx index 7d4a391cf..1f4c07757 100644 --- a/docs/concepts/memory.mdx +++ b/docs/concepts/memory.mdx @@ -159,33 +159,6 @@ crew = Crew( ) ``` -### Full Memory Configuration -```python -from crewai import Crew -from crewai.memory import LongTermMemory, ShortTermMemory, EntityMemory -from crewai.memory.storage import LTMSQLiteStorage, CustomRAGStorage - -# Configure all memory types with custom storage -crew = Crew( - memory=True, - long_term_memory=LongTermMemory( - storage=LTMSQLiteStorage(db_path="./ltm.db") - ), - short_term_memory=ShortTermMemory( - storage=CustomRAGStorage( - crew_name="my_crew", - storage_type="short_term" - ) - ), - entity_memory=EntityMemory( - storage=CustomRAGStorage( - crew_name="my_crew", - storage_type="entities" - ) - ) -) -``` - ## Integrating Mem0 for Enhanced User Memory [Mem0](https://mem0.ai/) is a self-improving memory layer for LLM applications, enabling personalized AI experiences.