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
  • PINECONE_ENVIRONMENT

Usage

The Pinecone class exposes the connection to the Pinecone vector store.

from langchain_pinecone import Pinecone

embeddings = ... # use a LangChain Embeddings class

vectorstore = Pinecone(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.0.2rc0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

langchain_pinecone-0.0.2rc0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file langchain_pinecone-0.0.2rc0.tar.gz.

File metadata

  • Download URL: langchain_pinecone-0.0.2rc0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.4 Darwin/23.2.0

File hashes

Hashes for langchain_pinecone-0.0.2rc0.tar.gz
Algorithm Hash digest
SHA256 251197985dc3b31fee862b420b9f984b80acc5abe6b72eff67d59eb287631abf
MD5 beaa86daf744a193b2a774789e754679
BLAKE2b-256 5a4448c8512c08b344dd7ccd6e1b1d54ae894364b0fb3e61f5bc958077189133

See more details on using hashes here.

File details

Details for the file langchain_pinecone-0.0.2rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_pinecone-0.0.2rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 466842876800b91c378fe768edf2ab3bcc1f0fa7e4972a78bc92e3a244b83bd7
MD5 0dfd91d4489fceb7691a97cf264c86ad
BLAKE2b-256 60efe977201da86d3798441121fe274938d9afd6f3d1723a3ad96ab5a3188f4d

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