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.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

langchain_pinecone-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file langchain_pinecone-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_pinecone-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for langchain_pinecone-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93f81e7c3926027cc6a87b001ee4d2e02a432a916709dbd395162b342bf84586
MD5 95a287c6ae55bb5d1029a260160e8207
BLAKE2b-256 2b8b720ed772cdd089879b0e19ce63a021361a03986ffc7cdd4df20e340d2e79

See more details on using hashes here.

File details

Details for the file langchain_pinecone-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_pinecone-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d957f27b1cceab425c3e8603c7a32533d4593ce8705242e78f6dc03aa71cf417
MD5 52a31766ee5e1faedfec5e9f4fdca5a0
BLAKE2b-256 7c1fdf38fcf4604d826dcc949fb8f36074a326ea70870dddcf9123cefa6a9275

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