langchain/libs/partners/pinecone
Erick Friis a99c667c22
partners: version constraints (#17492)
Core should be ^0.1 by default

Careful about 0.x.y and 0.0.z packages
2024-02-14 08:57:46 -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
LICENSE
Makefile
poetry.lock partners: version constraints (#17492) 2024-02-14 08:57:46 -08:00
pyproject.toml pinecone[patch]: release 0.0.2 (#17477) 2024-02-13 12:01:45 -08:00
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
  • 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)