#!/bin/sh
# Remove everything the tutorial created. Lite data is a plain directory, so deleting it deletes the database.
docker rm -f attu milvus-standalone
rm -rf standalone/volumes standalone/embedEtcd.yaml standalone/user.yaml   # the scratch folder where standalone_up.sh ran
docker rmi kb-milvus:3.0.2 zilliz/attu:v3.0.1 milvusdb/milvus:v3.0.5
rm -rf "$DATA_DIR/kb.db" "$DATA_DIR/idx.db" "$DATA_DIR"/top1_*.json   # DATA_DIR is the host folder that holds chunks.jsonl
# Zilliz Cloud: drop the collection (console or client.drop_collection("docs")), then delete the cluster and the account.
