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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for langchain_pinecone-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de4f88d690b28f629ef9cadb0af9b32819df4bd12171f75495f5339b7d87ae5b |
|
MD5 | c51934fa7c672ab6d571473fe5326b95 |
|
BLAKE2b-256 | 8f340389b167e99186b1f73bf25d4a63457782bce7fb43518d57612a0a0c0546 |