langchain/libs/partners/pinecone
2025-01-10 14:59:57 -05:00
..
langchain_pinecone pinecone: Review pinecone tests (#29073) 2025-01-07 11:46:30 -08:00
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tests pinecone: Review pinecone tests (#29073) 2025-01-07 11:46:30 -08:00
.gitignore pinecone: init pkg (#16556) 2024-02-05 11:55:01 -08:00
LICENSE pinecone: init pkg (#16556) 2024-02-05 11:55:01 -08:00
Makefile multiple: disable socket for unit tests (#29080) 2025-01-07 15:31:50 -08:00
poetry.lock partner: Update aiohttp in langchain pinecone. (#28863) 2025-01-10 14:54:52 -05:00
pyproject.toml pinecone[patch]: release 0.2.2 (#29139) 2025-01-10 14:59:57 -05:00
README.md docs: update pinecone README to use PineconeVectorStore (#18170) 2024-03-01 12:12:52 -08:00

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_KEY
  • PINECONE_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)