Use the watsonx.data 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 watsonx.data Milvus connection to connect to the Milvus service inside IBM watsonx.data.
Prerequisite to connect to a watsonx.data Milvus instance in watsonx.data
Copy link to section
Use the watsonx.data console to provision a Milvus instance in watsonx.data:
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 and Password: The username and associated password to access the for Milvus service. If you are connecting to the Milvus service in watsonx.data, use the username and password that you use to access
the watsonx.data instance.
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.
Choose the method for creating a connection based on where you are in the platform
After you enter the connection details, credentials, and optional SSL certificate, click Test connection to confirm that you can connect to the Milvus instance.
Where you can use this connection
Copy link to section
You can use watsonx.data Milvus connections in the following tools:
Prompt Lab
Copy link to section
Connect to a watsonx.data Milvus data store from the IBM watsonx.ai Prompt Lab to access information from documents that you want to include in foundation model prompts. Adding accurate contextual information in the foundation model input
helps the model to generate factual output. For information, see Adding grounding documents for generative AI models.
Restriction
Copy link to section
The watsonx.data Milvus connection is a testing mechanism to store and confirm the accuracy of your credentials and connection details to access the Milvus instance. Because Milvus is a vector store, you cannot browse data from the connection
or read data from it.
About cookies on this siteOur websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising.For more information, please review your cookie preferences options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.