langchain/libs/partners/pinecone
Isaac Francisco a72fddbf8d
[docs]: vector store integration pages (#24858)
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-06 17:20:27 +00:00
..
langchain_pinecone [docs]: vector store integration pages (#24858) 2024-08-06 17:20:27 +00:00
scripts patch[partners] Fix check_imports bugs in pinecone and milvus (#24971) 2024-08-02 09:27:11 -04:00
tests pinecone: Add embedding Inference Support (#24515) 2024-07-23 22:50:28 +00:00
.gitignore
LICENSE
Makefile infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
poetry.lock pinecone: Add embedding Inference Support (#24515) 2024-07-23 22:50:28 +00:00
pyproject.toml pinecone: Add embedding Inference Support (#24515) 2024-07-23 22:50:28 +00: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

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)