https://<cluster-id>.<cluster-type>.<cloud-provider>-<region>.cloud.zilliz.com
.
Get the cluster’s public endpoint.
element_id
, embeddings
, and record_id
, as follows:
Field Name | Field Type | Max Length | Dimension | Index | Metric Type |
---|---|---|---|---|---|
element_id (primary key field) | VARCHAR | 200 | — | — | — |
embeddings (vector field) | FLOAT_VECTOR | — | 3072 | Yes (Checked) | Cosine |
record_id | VARCHAR | 200 | — | — | — |
https://
, followed by instance’s GRPC host, followed by a colon and the GRPC port.
This takes the format of https://<host>:<port>
.
Get the instance’s GRPC host and GRPC port.ibmlhapikey
.
The password for Milvus on IBM watsonx.data is in the form of an IBM Cloud user API key.
Get the user API key.element_id
, embeddings
, and record_id
, as follows. This example code demonstrates the use of the
Python SDK for Milvus to create a collection with this minimum viable schema,
targeting Milvus on IBM watsonx.data. For the connections.connect
arguments to connect to other types of Milvus deployments, see your Milvus provider’s documentation:
<name>
(required) - A unique name for this connector.<user>
(required) - The username to access the Milvus instance.<uri>
(required) - The URI of the instance, for example: https://12345.serverless.gcp-us-west1.cloud.zilliz.com.
<db-name>
(required) - The name of the database in the instance.<password>
(required) - The password corresponding to the username to access the instance.<collection-name>
(required) - The name of the collection in the database.