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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)
```