Skip to main content
Pinecone 是一个向量数据库 with broad functionality.

安装和设置

安装 Python SDK:

向量存储

存在一个围绕 Pinecone indexes, 的封装器,允许您将其用作向量存储, 无论是用于语义搜索还是示例选择。
有关 Pinecone vectorstore, see this notebook

Sparse vector store

LangChain’s PineconeSparseVectorStore enables sparse retrieval using Pinecone’s sparse English model. It maps text to sparse vectors and supports adding documents and similarity search.
有关更详细的演练,请参阅 Pinecone Sparse Vector Store notebook.

Sparse embedding

LangChain’s PineconeSparseEmbeddings provides sparse embedding generation using Pinecone’s pinecone-sparse-english-v0 model.
有关更详细的用法,请参阅 Pinecone Sparse Embeddings notebook.

检索器

有关更多详细信息,请参阅 this notebook.

Self query retriever

Pinecone vector store can be used as a retriever for self-querying.