mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-11 15:03:36 +00:00
This change updates the requirements in `libs/partners/pinecone/pyproject.toml` to allow all versions of `pinecone-client` greater than or equal to 3.2.2. This change resolves issue [21955](https://github.com/langchain-ai/langchain/issues/21955). --------- Co-authored-by: Erick Friis <erickfriis@gmail.com> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
langchain-pinecone
This package contains the LangChain integration with Pinecone.
Installation
pip install -U langchain-pinecone
And you should configure credentials by setting the following environment variables:
PINECONE_API_KEYPINECONE_INDEX_NAME
Usage
The PineconeVectorStore class exposes the connection to the Pinecone vector store.
from langchain_pinecone import PineconeVectorStore
embeddings = ... # use a LangChain Embeddings class
vectorstore = PineconeVectorStore(embeddings=embeddings)