langchain/libs/partners/pinecone
ccurme 42257b120f
partners: fix numpy dep (#22858)
Following https://github.com/langchain-ai/langchain/pull/22813, which
added python 3.12 to CI, here we update numpy accordingly in partner
packages.
2024-06-13 14:46:42 -04:00
..
langchain_pinecone community, milvus, pinecone, qdrant, mongo: Broadcast operation failure while using simsimd beyond v3.7.7 (#22271) 2024-06-04 17:36:31 +00:00
scripts
tests pinecone[patch]: integration test debug (#17960) 2024-02-22 09:11:21 -08:00
.gitignore
LICENSE
Makefile pinecone[patch], docs: PineconeVectorStore, release 0.0.3 (#17896) 2024-02-22 08:24:08 -08:00
poetry.lock partners: fix numpy dep (#22858) 2024-06-13 14:46:42 -04:00
pyproject.toml partners: fix numpy dep (#22858) 2024-06-13 14:46:42 -04: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)