Skip to content
Discussion options

You must be logged in to vote

Upserting new data does not mean the old data is deleted. You will first need to delete the old data. Below is some python code that I ran on Google Collab.

#install pinecone client
!pip install pinecone-client

#get the project connected
import pinecone
pinecone.init(api_key="your key", environment="your environment")
index = pinecone.Index("your index")

#delete the index
index.delete(delete_all=True, namespace='')

If you have not added a namespace then use '' else use the actual name of the namespace.

Deleting the old data, saving your chat flow and then upserting the new data should solve the problem

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MrMrch
Comment options

@MrMrch
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by HenryHengZJ
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants