docs: update pinecone README to use PineconeVectorStore (#18170)

This commit is contained in:
Gabriel Altay
2024-03-01 15:12:52 -05:00
committed by GitHub
parent 1701f7b8e9
commit b9416dc96a

View File

@@ -15,12 +15,12 @@ And you should configure credentials by setting the following environment variab
## Usage
The `Pinecone` class exposes the connection to the Pinecone vector store.
The `PineconeVectorStore` class exposes the connection to the Pinecone vector store.
```python
from langchain_pinecone import PineconeVectorStore
embeddings = ... # use a LangChain Embeddings class
vectorstore = Pinecone(embeddings=embeddings)
vectorstore = PineconeVectorStore(embeddings=embeddings)
```