Vector Databases
Last updated
Last updated
This guide walks you through deploying a vector database on the Dynamiq platform, which allows you to integrate open-source vector databases like Weaviate seamlessly.
Navigate to the Deployments page.
Select the Vector Databases sub-tab within the Deployments page.
If no vector databases have been created yet, you’ll see a message: “You don't have any vector databases yet.” Click on Deploy a vector database to get started.
In the Add new deployment form, provide the following details:
Name: Enter a unique name for your vector database deployment.
Description: Optionally, add a brief description to clarify the database’s purpose or any specific details about its use.
Engine: Choose the database engine you want to use. Currently, Dynamiq supports Weaviate.
Engine Version: Select the version of the Weaviate engine. For example, 1.25.0.
Choose a Resource Profile from the options available. Each profile specifies the computational resources for the deployment.
Advanced Configuration:
Replicas: Set the number of replicas for your vector database. The default is 1.
Storage Size: Specify the storage size for the database (e.g., 10Gi).
After filling out the advanced configurations, click Create to initiate the database deployment. Once you submit the form, Dynamiq will initiate the deployment process. You’ll be redirected to a page where you can view the status of your deployment. It may initially show as Pending. The database will be available for usage in a couple of minutes once the status is transitioned to Running.
Connect to the database:
After the deployment is complete (it has status Running), navigate to the Access section.
You’ll see the connection details, including two pairs of roles and API keys. These keys are essential for secure access to the vector database.
To connect to your vector database:
Set WEAVIATE_API_KEY
environment variable with the credentials found in the Access section.
Use the provided code snippet in Python to establish a connection to Weaviate.
Ensure you have the necessary client library installed. Run: