mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
docs: fix long term memory class name in examples
- Replace EnhanceLongTermMemory with LongTermMemory to match actual implementation - Update code examples to show correct usage - Fixes #2026 Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -66,12 +66,12 @@ my_crew = Crew(
|
|||||||
tasks=[...],
|
tasks=[...],
|
||||||
process="Process.sequential",
|
process="Process.sequential",
|
||||||
memory=True,
|
memory=True,
|
||||||
long_term_memory=EnhanceLongTermMemory(
|
long_term_memory=LongTermMemory(
|
||||||
storage=LTMSQLiteStorage(
|
storage=LTMSQLiteStorage(
|
||||||
db_path="/my_data_dir/my_crew1/long_term_memory_storage.db"
|
db_path="/my_data_dir/my_crew1/long_term_memory_storage.db"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
short_term_memory=EnhanceShortTermMemory(
|
short_term_memory=ShortTermMemory(
|
||||||
storage=CustomRAGStorage(
|
storage=CustomRAGStorage(
|
||||||
crew_name="my_crew",
|
crew_name="my_crew",
|
||||||
storage_type="short_term",
|
storage_type="short_term",
|
||||||
@@ -80,7 +80,7 @@ my_crew = Crew(
|
|||||||
dimension=embedder["dimension"],
|
dimension=embedder["dimension"],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
entity_memory=EnhanceEntityMemory(
|
entity_memory=EntityMemory(
|
||||||
storage=CustomRAGStorage(
|
storage=CustomRAGStorage(
|
||||||
crew_name="my_crew",
|
crew_name="my_crew",
|
||||||
storage_type="entities",
|
storage_type="entities",
|
||||||
|
|||||||
Reference in New Issue
Block a user