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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_pinecone-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 12e19e0fd900326b72ce0e27a0ddf33526c7af8d2d488b7dce06f3b6beff6d13
MD5 36c47ac816afeef57ac76e5dd56fd4a3
BLAKE2b-256 aa9b81e6a941e7b4f6444b6cfc4f593d110a8476ccf4e60c4b49d427c557ef9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_pinecone-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c96fc102f61aafb32605b6aceca014ee1909ea94309aa56e074b38a7fc2e5994
MD5 dc82bb68c8a3567a343e986d2ee11f02
BLAKE2b-256 d2c04683d5e8574fcfe017f4948ce6610abff3ded8a59fc108677f56158d5663

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