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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07157885ef1e45bedadc3f7ea6bb181ec458fae5fd82dc7a6005444f67100613 |
|
MD5 | 160109e6845462c335d8d12e8f1d41d7 |
|
BLAKE2b-256 | 8d4a022e39e840ad58a165dd422aa16783d220b935ab2d639ef1416a22b228ed |