this is helpful and was the basis for what I'm building, but this doesn't cover how to retrieve previously created indices from redis.
vector_store = RedisVectorStore(
index_name=team_id,
index_prefix=team_id,
redis_url="redis://localhost:6379",
overwrite=True
)
storage_context = StorageContext.from_defaults(
vector_store=vector_store,
)
i = load_index_from_storage(storage_context=storage_context)
The following code on existing indices returns
No index in storage context, check if you specified the right persist_dir