langchain/libs/partners/pinecone
2024-12-03 10:22:16 -08:00
..
langchain_pinecone partners: update version header for Pinecone integration (#28481) 2024-12-03 18:08:56 +00:00
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tests multiple: rely on asyncio_mode auto in tests (#27200) 2024-10-15 16:26:38 +00: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 standard-tests[patch]: add Ser/Des test 2024-09-04 10:24:06 -07:00
poetry.lock partners/pinecone: release 0.2.2 (#28466) 2024-12-03 06:49:35 +00:00
pyproject.toml pinecone: release 0.2.1 (version sequence) (#28485) 2024-12-03 10:22:16 -08: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)