mirror of
https://github.com/hwchase17/langchain
synced 2024-11-20 03:25:56 +00:00
a99c667c22
Core should be ^0.1 by default Careful about 0.x.y and 0.0.z packages |
||
---|---|---|
.. | ||
langchain_pinecone | ||
scripts | ||
tests | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
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)