mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-04 04:07:54 +00:00
docs: update pinecone README to use PineconeVectorStore (#18170)
This commit is contained in:
parent
1701f7b8e9
commit
b9416dc96a
@ -15,12 +15,12 @@ And you should configure credentials by setting the following environment variab
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
The `Pinecone` class exposes the connection to the Pinecone vector store.
|
The `PineconeVectorStore` class exposes the connection to the Pinecone vector store.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from langchain_pinecone import PineconeVectorStore
|
from langchain_pinecone import PineconeVectorStore
|
||||||
|
|
||||||
embeddings = ... # use a LangChain Embeddings class
|
embeddings = ... # use a LangChain Embeddings class
|
||||||
|
|
||||||
vectorstore = Pinecone(embeddings=embeddings)
|
vectorstore = PineconeVectorStore(embeddings=embeddings)
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user