-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
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
[Bug]: ModuleNotFoundError: No module named 'llama_index.storage' #12364
Comments
Hey @rudrakhsha-c! Great to see you diving into the depths of LlamaIndex again. Hope this puzzle turns out to be more fun than frustrating! 🎩 Based on the information you've provided and the context from the LlamaIndex repository, it seems like you're encountering a This error typically occurs when the module you're trying to import doesn't exist or the import path is incorrect. In your case, it seems like the import path you're using doesn't match the actual module path in the LlamaIndex codebase. The correct import path for the from llama_index.core.storage.chat_store.redis_chat_store import RedisChatStore You can find this in the llama-index-integrations/storage/chat_store/llama-index-storage-chat-store-redis/llama_index/storage/chat_store/redis/base.py file in the LlamaIndex repository. Additionally, to use the
You can install these dependencies using pip: pip install llama-index-core redis You can find more information about these dependencies in the llama-index-integrations/storage/chat_store/llama-index-storage-chat-store-redis/pyproject.toml file in the LlamaIndex repository. Please try updating your import statement and installing the necessary dependencies, and let me know if you continue to encounter any issues. Sources
|
@dosubot even after modifying my requirements according to your given changes, the error still persists.
Using the version mentioned in your comment. Can you please help? |
It seems like there is no module named RedisChatStore in the folder |
@rudrakhsha-c its a package, the same as every integration
Its under I welcome a PR to update that docs page, otherwise I'll get to it at some point |
Bug Description
I am unable to use the chat store object provided by the llama index storage class.
Getting the above error
How do I solve this issue?
Is there any other dependency we have to install to access chatstores?
Version
0.10.25
Steps to Reproduce
!pip install llama-index
from llama_index.storage.chat_store.redis import RedisChatStore
Run the above code and you will get the error.
Relevant Logs/Tracbacks
No response
The text was updated successfully, but these errors were encountered: