i'm trying to integrate with AstraDB. i have executed generate.py and can observe the embeddings in the AstraDB.
when i try to load the storagecontext as index, it throws an error. going thru the LlamaIndex AstraDB documentation didnt mention anything about index.
astra_db_store = AstraDBVectorStore(....)
storage_context = StorageContext.from_defaults(vector_store=astra_db_store)
index = load_index_from_storage(storage_context)
index.as_chat_engine(chat_mode=ChatMode.CONDENSE_PLUS_CONTEXT)
.....
File "...lib/python3.11/site-packages/llama_index/core/indices/loading.py", line 36, in load_index_from_storage
raise ValueError(
ValueError: No index in storage context, check if you specified the right persist_dir.
am i missing something?