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

Uploaded Source

Built Distribution

langchain_pinecone-0.0.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_pinecone-0.0.1.tar.gz
  • Upload date:
  • Size: 7.7 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.1.tar.gz
Algorithm Hash digest
SHA256 d7128f60205bfacdf2c1bf62d12f4dbf79ad8c4dac856e531c0cd718d28e5a7b
MD5 ee152bca3c28268832964d78ab7e9004
BLAKE2b-256 f41f41a77366f5f7232a45d23c527200f19fa7d526f9c13e1a96e67abf289d9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_pinecone-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b657406423951c21b7eaf4e0fb56983deb91ebc425ea2cd880966192c942a6f
MD5 eae3fef5bd4f1de54daae869b03de837
BLAKE2b-256 4e5816ca242ba4d95e7b6451dedf9ecb1ee77d3be9712741387d0030ce4c1699

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