Skip to main content

An integration package connecting Pinecone and LangChain

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_pinecone-0.2.0.dev1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

langchain_pinecone-0.2.0.dev1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file langchain_pinecone-0.2.0.dev1.tar.gz.

File metadata

File hashes

Hashes for langchain_pinecone-0.2.0.dev1.tar.gz
Algorithm Hash digest
SHA256 84789f0e2090a5f96ebe7eefc3a7275a89f5bd08d075fd56b0d411b7c8a35bff
MD5 80b71677f4b48c2f57e13f37822abe58
BLAKE2b-256 fe6bd9da3a149e6ab022656881255a19dbbe10c086d429fd38fb37139c220790

See more details on using hashes here.

File details

Details for the file langchain_pinecone-0.2.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_pinecone-0.2.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 3991777d3175304c61950dfcf5625cae04b00996c72fc46c4e58a2b88227e009
MD5 ca886211aa6fdaf1c1b35972308837e3
BLAKE2b-256 e8f738fe666174ac1a8d0b637ca69e0b1df1307c6a2877b38b67db9ff2bbda7c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page