watsonx.data

 View Only

 Cannot connect to Milvus service

  • watsonx.data
Maurizio Caronni's profile image
Maurizio Caronni posted Wed November 20, 2024 09:47 AM

Dear all,
I need to associate a Milvus service to watsonx.ai in order to implement a RAG.

So:

1) I created a Milvus service in watsonx.data and I copied the JSON snippet for the connection
2) I tried to create a new connection in watsonx.ai:

  • inserting info from the JSON copied in step 1
  • inserting user 'ibmlhapikey' and a new created Api Key as password
  • unchecking ssl connection

I tried to connect  but I got this error: 

The test was not successful
The assets request failed: CDICO0100E: Connection failed: SCAPI error: Connection to Milvus service failed: Connection to Milvus service failed: Unable to contact Milvus service using specified connection details.
Any suggestion?
Thanks
Maurizio
Jennifer Wales's profile image
Jennifer Wales

Maurizio - These settings worked for me:

For connection details - 
Hostname - Milvus GRPC Host {under milvus connect details}
Port - Milvus GRPC Port  {under milvus connect details}
Database - 'default' unless you specifically named it
Username - 'ibmlhapikey'
Password - {mycloud_api_key}
Select option for Port is SSL enabled

You can automate creating this connection with Ground gen AI with vectorized documents.  Choose watsonx.data Milvus and follow the prompts to create the connection for you. 

Good luck!