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
Gareth ac41c97d21
pinecone: Add embedding Inference Support (#24515)
**Description**

Add support for Pinecone hosted embedding models as
`PineconeEmbeddings`. Replacement for #22890

**Dependencies**
Add `aiohttp` to support async embeddings call against REST directly

- [x] **Add tests and docs**: If you're adding a new integration, please
include

Added `docs/docs/integrations/text_embedding/pinecone.ipynb`


- [x] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/

Twitter: `gdjdg17`

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2 months ago
..
langchain_pinecone pinecone: Add embedding Inference Support (#24515) 2 months ago
scripts infra: add print rule to ruff (#16221) 8 months ago
tests pinecone: Add embedding Inference Support (#24515) 2 months ago
.gitignore pinecone: init pkg (#16556) 8 months ago
LICENSE pinecone: init pkg (#16556) 8 months ago
Makefile infra: update mypy 1.10, ruff 0.5 (#23721) 3 months ago
README.md docs: update pinecone README to use PineconeVectorStore (#18170) 7 months ago
poetry.lock pinecone: Add embedding Inference Support (#24515) 2 months ago
pyproject.toml pinecone: Add embedding Inference Support (#24515) 2 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

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)