Connecting watsonx Assistant to watsonx.data Milvus for custom search
Connecting watsonx Assistant to watsonx.data Milvus allows you to use the power of Milvus for vector similarity search and indexing in your data. With this connection, you can integrate Milvus into your watsonx workflow and take advantage of its high performance and scalability.
To connect watsonx Assistant to Milvus in watsonx.data, do the following steps:
-
Create a Milvus service instance in watsonx.data. For more information, see Adding Milvus service.
-
Connect to the Milvus service. For more information about connecting to a Milvus service, see Connecting to Milvus service.
-
Insert data into the Milvus instance.
- For information about inserting vectorized data into Milvus, see Insert, Upsert & Delete.
- If you want to insert non-vectorized data, for example a PDF file, use embedding models to vectorize it. You can use watsonx.ai that has vectorizing embeddings. For more information, see Milvus connection in watsonx.ai. Use
ibmlhapikey
as username and your API key as password for the Milvus connection.
For information about watsonx.data Milvus configuration in watsonx.ai, see Configuring IBM® watsonx.data Milvus in IBM watsonx.ai.
-
Set up your watsonx Assistant instance. For more information, see Getting started with watsonx Assistant.
-
Connect to Milvus service from watsonx Assistant by using one of the following options:
-
Access Milvus service directly from watsonx Assistant. For more information, see Milvus search integration setup.
-
Set up a custom service in watsonx Assistant. For more information, see Custom service integration setup. You can use the Custom Service option for advanced capabilities, such as:
- Flexibility to use any Milvus that is supported.
- Multi-vector hybrid search.
- Reranking.
-