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 Pinecone class exposes the connection to the Pinecone vector store.

from langchain_pinecone import PineconeVectorStore

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for langchain_pinecone-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5584a56b4208f3a30917c6698a27ecb459c192db0b2374d515887b507763ff20
MD5 b32c7cdf7a2db321e27bf5a45c597d8b
BLAKE2b-256 68eabeda31761d1f1481871706bcf47d2574badbdddb96143a56edb17c0e5748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_pinecone-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa6c9925727f509b781c791184f5c2f8bc15030c0ad20f4b52b2698207934b9d
MD5 6c89984130dd5b1e8d0a3d9bcf594015
BLAKE2b-256 30396cbba0c7f2e8b79d722497c37cc16c46e16fb1fc52b1a0aaf1afec45e62b

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