Pinecone
Overview
Install pinecone related dependencies using the following command:
In order to use Pinecone as vector database, set the environment variable PINECONE_API_KEY
which you can find on Pinecone dashboard.
You can find more information about Pinecone configuration here.
You can also optionally provide index_name
as a config param in yaml file to specify the index name. If not provided, the index name will be {collection_name}-{vector_dimension}
.
Usage
Hybrid search
Here is an example of how you can do hybrid search using Pinecone as a vector database through Embedchain.
Under the hood, Embedchain fetches the relevant chunks from the documents you added by doing hybrid search on the pinecone index. If you have questions on how pinecone hybrid search works, please refer to their offical documentation here.
If you can't find specific feature or run into issues, please feel free to reach out through one of the following channels.
Was this page helpful?