in datastore/providers/zilliz_datastore.py [0:0]
def __init__(self, create_new: Optional[bool] = False):
"""Create a Zilliz DataStore.
The Zilliz Datastore allows for storing your indexes and metadata within a Zilliz Cloud instance.
Args:
create_new (Optional[bool], optional): Whether to overwrite if collection already exists. Defaults to True.
"""
# Overwrite the default consistency level by MILVUS_CONSISTENCY_LEVEL
self._consistency_level = ZILLIZ_CONSISTENCY_LEVEL or "Bounded"
self._create_connection()
self._create_collection(ZILLIZ_COLLECTION, create_new) # type: ignore
self._create_index()