from pymilvus import MilvusClient, connections CLUSTER_ENDPOINT = "https://in03-875693e98e705a1.api.gcp-us-west1.zillizcloud.com" TOKEN = "ee74ec4f760451b2c0602c784343318402c12b4cceadd34344f0290884ab537c63f1ec14df031f07c968105b162e43eac9ac310f" def create_client(): connections.connect( "default", uri=CLUSTER_ENDPOINT, token=TOKEN ) client = MilvusClient( uri=CLUSTER_ENDPOINT, token=TOKEN ) return client