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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_pinecone-0.2.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for langchain_pinecone-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8a320be9420b686625a5024a174054846b1cd4cf3c3fe9df602b2c6d7147b71c
MD5 85efe148dfe4a5c47ffd5817df04abea
BLAKE2b-256 f44c0b953564294147f32ee0b6c0fed34b67b2b11900478bc42e0b3d51807396

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_pinecone-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab7e54de4ad81e3c7e68d4b4c321798ef1cc8833bb9c52a620a9a4f552ecffc6
MD5 12cd984c67c81ed4620012a65067b4f2
BLAKE2b-256 b1c41040a3d55ec6ad73835a9b4c5344d499f1a107fd9a432d97e890e7f9261c

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