langchain/libs/partners/pinecone
2024-02-13 10:02:16 -08:00
..
langchain_pinecone pinecone[patch]: release 0.0.2rc0, remove simsimd dep (#17469) 2024-02-13 10:02:16 -08:00
scripts infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
tests infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08: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 pinecone: init pkg (#16556) 2024-02-05 11:55:01 -08:00
poetry.lock pinecone[patch]: release 0.0.2rc0, remove simsimd dep (#17469) 2024-02-13 10:02:16 -08:00
pyproject.toml pinecone[patch]: release 0.0.2rc0, remove simsimd dep (#17469) 2024-02-13 10:02:16 -08:00
README.md pinecone: init pkg (#16556) 2024-02-05 11:55:01 -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
  • PINECONE_ENVIRONMENT

Usage

The Pinecone class exposes the connection to the Pinecone vector store.

from langchain_pinecone import Pinecone

embeddings = ... # use a LangChain Embeddings class

vectorstore = Pinecone(embeddings=embeddings)