Pinecone
Pinecone is a vector database with broad functionality.
Installation and Setupβ
Install the Python SDK:
pip install langchain-pinecone
Vector storeβ
There exists a wrapper around Pinecone indexes, allowing you to use it as a vectorstore, whether for semantic search or example selection.
from langchain_pinecone import PineconeVectorStore
API Reference:PineconeVectorStore
For a more detailed walkthrough of the Pinecone vectorstore, see this notebook
Retrieversβ
Pinecone Hybrid Searchβ
pip install pinecone-client pinecone-text
from langchain_community.retrievers import (
PineconeHybridSearchRetriever,
)
API Reference:PineconeHybridSearchRetriever
For more detailed information, see this notebook.
Self Query retrieverβ
Pinecone vector store can be used as a retriever for self-querying.
For more detailed information, see this notebook.