langchain/libs/partners/pinecone
Christophe Bornet 038c287b3a
all: Improve make lint command (#25344)
* Removed `ruff check --select I` as `I` is already selected and checked
in the main `ruff check` command
* Added checks for non-empty `PYTHON_FILES`
* Run `ruff check` only on `PYTHON_FILES`

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-23 18:23:52 -07:00
..
langchain_pinecone partners: Use simsimd types (#25299) 2024-08-23 10:41:39 -04:00
scripts patch[partners] Fix check_imports bugs in pinecone and milvus (#24971) 2024-08-02 09:27:11 -04:00
tests pinecone[patch]: Upgrade @root_validators to be consistent with pydantic 2 (#25453) 2024-08-15 19:45:14 +00:00
.gitignore
LICENSE
Makefile all: Improve make lint command (#25344) 2024-08-23 18:23:52 -07:00
poetry.lock partners: Use simsimd types (#25299) 2024-08-23 10:41:39 -04:00
pyproject.toml partners: Use simsimd types (#25299) 2024-08-23 10:41:39 -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)