mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
038c287b3a
* 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> |
||
---|---|---|
.. | ||
langchain_pinecone | ||
scripts | ||
tests | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
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
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)