Question Validation
Question
First, I load the documents into Pinecone with this code:
PINECONE_INDEX_NAME ="name"
vector_store = PineconeVectorStore(pinecone_index=pinecone.Index(PINECONE_INDEX_NAME))
storage_context = StorageContext.from_defaults(vector_store=vector_store)
documents = SimpleDirectoryReader(data_dir).load_data()
VectorStoreIndex.from_documents(
documents, storage_context=storage_context
)
Then I try to load the load the documents from the same vector store using the code below,
index = VectorStoreIndex.from_vector_store(vector_store)
index_nodes = index.docstore.docs
index_nodes <- returns {}
Do you see anything here that cause the vector store to give an empty response?
Question Validation
Question
First, I load the documents into Pinecone with this code:
Then I try to load the load the documents from the same vector store using the code below,
Do you see anything here that cause the vector store to give an empty response?