We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation shows this import statement under Example: Use Custom Memory Instances e.g FAISS as the VectorDB:
from crewai.memory.storage import LTMSQLiteStorage, RAGStorage
Which is incorrect and results in an import error.
Looking at the storage code, the correct imports should be:
from crewai.memory.storage.rag_storage import RAGStorage from crewai.memory.storage.ltm_sqlite_storage.py import LTMSQLiteStorage
Attempt to import the classes using the example in the documentation:
Run your app and observe an import error.
The app starts without import errors.
from crewai.memory.storage import RAGStorage short_term_memory = ShortTermMemory( storage = RAGStorage( embedder_config={ "provider": "openai", "config": { "model": 'text-embedding-3-small' } }, type="short_term", path="/my_crew1/" ) ), ),
Ubuntu 24.04
3.12
0.108
NA
Venv
Update the docs to show the correct import path.
The text was updated successfully, but these errors were encountered:
Fix incorrect import statement in memory examples documentation (fixes …
6e359ae
…#2395) Co-Authored-By: Joe Moura <joao@crewai.com>
9fc84fc
Successfully merging a pull request may close this issue.
Description
The documentation shows this import statement under Example: Use Custom Memory Instances e.g FAISS as the VectorDB:
from crewai.memory.storage import LTMSQLiteStorage, RAGStorage
Which is incorrect and results in an import error.
Looking at the storage code, the correct imports should be:
Steps to Reproduce
Attempt to import the classes using the example in the documentation:
from crewai.memory.storage import LTMSQLiteStorage, RAGStorage
Run your app and observe an import error.
Expected behavior
The app starts without import errors.
Screenshots/Code snippets
Operating System
Ubuntu 24.04
Python Version
3.12
crewAI Version
0.108
crewAI Tools Version
NA
Virtual Environment
Venv
Evidence
Possible Solution
Update the docs to show the correct import path.
Additional context
NA
The text was updated successfully, but these errors were encountered: