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
Erick Friis 3a2eb6e12b
infra: add print rule to ruff (#16221)
Added noqa for existing prints. Can slowly remove / will prevent more
being intro'd
8 months ago
..
langchain_pinecone pinecone: init pkg (#16556) 8 months ago
scripts infra: add print rule to ruff (#16221) 8 months ago
tests infra: add print rule to ruff (#16221) 8 months ago
.gitignore pinecone: init pkg (#16556) 8 months ago
LICENSE pinecone: init pkg (#16556) 8 months ago
Makefile pinecone: init pkg (#16556) 8 months ago
README.md pinecone: init pkg (#16556) 8 months ago
poetry.lock pinecone: init pkg (#16556) 8 months ago
pyproject.toml pinecone: init pkg (#16556) 8 months 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
  • 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)