Pinecone
Upsert embedded data and perform similarity search upon query using Pinecone, a leading fully managed hosted vector database.
Prerequisite
Register an account for Pinecone
Click Create index
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-efd45d48879787ffa365399427e7f4bd80a1b8f1%252Fpinecone_1.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=7bbb4db7&sv=1)
Fill in required fields:
Index Name, name of the index to be created. (e.g. "flowise-test")
Dimensions, size of the vectors to be inserted in the index. (e.g. 1536)
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-1cdfa258ab5e8c3673e1cc412d6a72d651a52de3%252Fpinecone_2.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=20897356&sv=1)
Click Create Index
Setup
Get/Create your API Key
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-495497d36ea67054b4a8f588da969672d460b90a%252Fpinecone_3.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=f1714996&sv=1)
Add a new Pinecone node to canvas and fill in the parameters:
Pinecone Index
Pinecone namespace (optional)
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-32977e96424953ac8eb169b1917f4e352204da19%252Fpinecone_llamaindex.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=c00f455b&sv=1)
Create new Pinecone credential -> Fill in API Key
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-798beb4ecbbb2ebfdff283a116fd8b1692270053%252Fpinecone_5.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=65471728&sv=1)
Add additional nodes to canvas and start the upsert process
Document can be connected with any node under Document Loader category
Document loaders and text splitters for LlamaIndex are not yet available, but using one of the ones available under LangChain will still allow querying with LlamaIndex as normal.
- **Embeddings** can be connected with any node under [**Embeddings** ](../embeddings/)category
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-563f65652bcc8dae6ab5155f0085d80ec21f6b66%252Fpinecone_llama_chatflow.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=5e55e451&sv=1)
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-7b8e30fcb7ee6b36a4a8e0f908dbae8629340d1e%252Fpinecone_llama_upsert.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=f13375a9&sv=1)
Verify on Pinecone dashboard that data has been successfully upserted:
![](https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F1820151947-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy8ifwt9BYklr92KDdr48%252Fuploads%252Fgit-blob-d8bf1bc002eb69e9a08ebc08f763a218cd35249a%252Fpinecone_8.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=380d9090&sv=1)
Last updated