Find answers from the community

Updated 4 months ago

HI folks,

HI folks,
What exactly happens when I create a Vector Store and a Storage context? Do i need to recreate this object every time I want to upsert something into Pinecone or can I create the vector store and storage context once and create a VectorStoreIndex every time I am upserting chunks?
L
1 comment
Hmm, nothing is happening when creating a storage context, it just holds the connection

For something like pinecone, generally you'll just need to create the vector_store object, and then you are able to re-create the vector store index object

VectorStoreIndex.from_vector_store(vector_store)
Add a reply
Sign up and join the conversation on Discord