langchain/libs/partners/pinecone
Erick Friis c77d2f2b06
multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646)
0.2 is not a breaking release for core (but it is for langchain and
community)

To keep the core+langchain+community packages in sync at 0.2, we will
relax deps throughout the ecosystem to tolerate `langchain-core` 0.2
2024-05-13 19:50:36 -07:00
..
langchain_pinecone (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
scripts infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
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 multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646) 2024-05-13 19:50:36 -07:00
pyproject.toml multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646) 2024-05-13 19:50:36 -07: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)