Find answers from the community

Updated 9 months ago

Redis doc store and index store imports

what are the new imports for ?

Plain Text
from llama_index.storage.docstore import RedisDocumentStore
from llama_index.storage.index_store import RedisIndexStore
b
W
6 comments
Both my imports seem to be failing now πŸ˜„
You can check the pypi registery for third party integration:
https://pretty-sodium-5e0.notion.site/ce81b247649a44e4b6b35dfb24af28a6?v=53b3c2ced7bb4c9996b81b83c9f01139

Docstore:
pip install llama-index-storage-docstore-redis


Index store:
pip install llama-index-storage-index-store-redis


I would recomment you spin up a fresh env and install llama-index and then these two.
Plain Text
%pip install llama-index-storage-docstore-redis
%pip install llama-index-storage-index-store-redis


I did these two. I think the imports are shifted to new modules in v0.10.0
For docstore:
from llama_index.storage.docstore.redis import RedisDocumentStore

Checking in on the Index part
for Index it seems be :

from llama_index.storage.index_store.redis import RedisIndexStore
@WhiteFang_Jr thank you for helping out
Add a reply
Sign up and join the conversation on Discord