You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/partners/pinecone
Bagatur 17b397ef93
pinecone[minor]: Release 0.2.0 (#26474)
1 week ago
..
langchain_pinecone multiple: pydantic 2 compatibility, v0.3 (#26443) 1 week ago
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 1 week ago
tests multiple: pydantic 2 compatibility, v0.3 (#26443) 1 week ago
.gitignore pinecone: init pkg (#16556) 8 months ago
LICENSE pinecone: init pkg (#16556) 8 months ago
Makefile standard-tests[patch]: add Ser/Des test 3 weeks ago
README.md docs: update pinecone README to use PineconeVectorStore (#18170) 7 months ago
poetry.lock pinecone[minor]: Release 0.2.0 (#26474) 1 week ago
pyproject.toml pinecone[minor]: Release 0.2.0 (#26474) 1 week ago

README.md

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)