Overview
Utilizing a vector database alongside Embedchain is a seamless process. All you need to do is configure it within the YAML configuration file. We’ve provided examples for each supported database below:ChromaDB
Elasticsearch
Install related dependencies using the following command:You can configure the Elasticsearch connection by providing either
es_url
or cloud_id
. If you are using the Elasticsearch Service on Elastic Cloud, you can find the cloud_id
on the Elastic Cloud dashboard.basic_auth
, api_key
, or bearer_auth
.
OpenSearch
Install related dependencies using the following command:Zilliz
Install related dependencies using the following command:ZILLIZ_CLOUD_URI
and ZILLIZ_CLOUD_TOKEN
which you can find it on their cloud platform.
LanceDB
Coming soonPinecone
Install pinecone related dependencies using the following command: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}
.Qdrant
In order to use Qdrant as a vector database, set the environment variablesQDRANT_URL
and QDRANT_API_KEY
which you can find on Qdrant Dashboard.
Weaviate
In order to use Weaviate as a vector database, set the environment variablesWEAVIATE_ENDPOINT
and WEAVIATE_API_KEY
which you can find on Weaviate dashboard.