IBM watsonx.data Milvus connection

Use the Milvus connection to store and confirm the accuracy of your credentials and connection details to access a Milvus vector store.

Milvus is a vector database that is built for scalable similarity search. You can use the Milvus connection to connect to either the Milvus service within the IBM watsonx.data or to a stand-alone Milvus instance that you provision yourself.

Milvus connection also supports metadata discovery that allows you to browse and list available assets, such as databases and collections, within the connected Milvus instance.

Prerequisite to connect to a watsonx.data Milvus instance in watsonx.data

Use the watsonx.data console to provision a Milvus instance in watsonx.data:

Create a connection to watsonx.data Milvus

You can import a JSON file to fill in these fields using the Import connection values. To get the JSON file needed for this connection, you will need to go to your watsonx.data instance's console page and navigate to the Connection information field and you can copy the JSON file.

To create the connection asset, you need these connection details:

  • Hostname: Hostname of the Milvus service
  • Port: Port number of the Milvus service
  • Database (optional): Database name
  • Username: The username to access the Milvus service. Enter the username that you use to access the watsonx.data instance.
    • If you are connecting to Milvus on watsonx.data as a Service, enter the username in the following format: ibmlhapikey_<saas_account_email>
  • Password: The password to access the Milvus service. Enter the password that you use to access the watsonx.data instance.
    • If you are connecting to Milvus on watsonx.data as a Service, enter the API key. For more information, see Managing user API keys.
    • If you are connecting to Milvus on watsonx.data that is on Cloud Pak for Data, it uses an Identity Management Service (IAM), for example, LDAP or SSO. You can enter the IAM API key. The API key is located in the Profile and settings of the target Cloud Pak for Data cluster. For information on API keys, see Generating API keys for authentication.
  • SSL certificate: The SSL certificate of the host to be trusted. The certificate is needed only when the host certificate is not signed by a known certificate authority.

Test the connection

After you enter the connection details, credentials, and optional SSL certificate, click Test connection to confirm that you can connect to the Milvus instance.

Restriction

The Milvus connection is a testing mechanism to store and confirm the accuracy of your credentials and connection details to access the Milvus instance. Connector also supports discovery, that allows you to list available assets within the Milvus instance. Milvus connection does not support read or write data operations.

Learn more

Related connection: IBM watsonx.data Presto connection